Undeliverable: MAPISEND called from Perl Program

System Administrator ( postmaster@nmt.co.il )
Sat, 12 Sep 1998 17:51:55 +0200

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BDDE65.44347596
Content-Type: text/plain

Your message

To: 'Windows NT ISP Mailing List'; 'MS Exchange List'
Subject: MAPISEND called from Perl Program
Sent: Sat, 12 Sep 1998 17:05:58 +0200

did not reach the following recipient(s):

NTisp-list@mail.extent.com on Sat, 12 Sep 1998 17:51:51 +0200
The recipient name is not recognized
MSEXCH:IMS:NMT:nmt:MAIN 0 (000C05A6) Unknown Recipient

------_=_NextPart_000_01BDDE65.44347596
Content-Type: message/rfc822
Content-Location: ATT-0-BDAF86BDE648D211887300A0C9729CE3

Message-ID: <57DF2A03C72FD111B06E004005311D641186E5@ns1.dacor.net>
From: "George G. Stossel" <STOSSEL@DACOR.COM>
To: 'Windows NT ISP Mailing List' <ntisp@emerald.iea.com>,
'MS Exchange List' <msexchange@insite.co.uk>
Subject: MAPISEND called from Perl Program
Date: Sat, 12 Sep 1998 17:05:58 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
X-MS-Embedded-Report:
Content-Type: text/plain;
charset="windows-1252"

I am trying to call mapisend (sendmail) from a Perl 5.003 program.

I have the Exchange server (5.5) profile set up so that I can execute
mapisend from an MS-DOS prompt and it works fine.

I can call mapisend from a Perl program using the system() function and
when I run the Perl program from the MS-DOS prompt it works fine.

If I call the Perl program from an HTML page served up by IIS 4.0 I get
a mapisend error "Mapi Logon Failed: 3". This is the same error I see
if the Exchange profile is not set up for the user mailbox.

Any ideas for solving or debugging the problem would be appreciated. If
anyone has an alternate method for sending mail from a Perl CGI script
would also be appreciated.

George

George G. Stossel, President Phone:
419.352.3568
DACOR, Inc. FAX: 419.353.0149
519 W. Wooster Street Sales: 800.447.5333
Bowling Green, OH 43402-2763 03 USA Email:
stossel@dacor.com
WWW: http://www.dacor.com/

------_=_NextPart_000_01BDDE65.44347596--