Warning: could not send message for past 4 hours

Mail Delivery Subsystem ( MAILER-DAEMON@mail2.rad.net.id )
Sun, 13 Sep 1998 04:33:26 +0700

This is a MIME-encapsulated message



The original message was received at Sat, 12 Sep 1998 23:03:41 +0700
from walnut.iea-software.com []

----- The following addresses had transient non-fatal errors -----

----- Transcript of session follows -----
<azaini@rajawali.co.id>... Deferred: Network is unreachable
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

Content-Type: message/delivery-status

Reporting-MTA: dns; mail2.rad.net.id
Arrival-Date: Sat, 12 Sep 1998 23:03:41 +0700

Final-Recipient: RFC822; azaini@rajawali.co.id
Action: delayed
Status: 4.4.1
Remote-MTA: DNS; mail.rajawali.co.id
Last-Attempt-Date: Sun, 13 Sep 1998 04:33:26 +0700
Will-Retry-Until: Thu, 17 Sep 1998 23:03:41 +0700

Content-Type: message/rfc822

Return-Path: ntisp-return@iea-software.com
Received: from walnut.iea-software.com (walnut.iea-software.com []) by mail2.rad.net.id (8.8.5/RADNET) with ESMTP id XAA23452 for <azaini@rajawali.co.id> Sat, 12 Sep 1998 23:03:41 +0700
Received: from walnut.iea-software.com (walnut.iea-software.com []) by walnut.iea-software.com (NTMail 4.00.0020/NT6651.00.c89adb95) with ESMTP id za000511 for <ntisp@iea-software.com> Sat, 12 Sep 1998 08:02:03 +0100
Received: from [] by walnut.iea-software.com (NTMail 4.00.0020/NT6651.00.c89adb95) with ESMTP id jifaaaaa for <ntisp@iea-software.com> Sat, 12 Sep 1998 08:02:00 +0100
Received: from twister.emerald.iea.com (unverified []) by pine.iea-software.com
(Rockliffe SMTPRA 2.1.5) with SMTP id <B0125634632@pine.iea-software.com> for <ntisp@iea-software.com>
Sat, 12 Sep 1998 08:12:29 -0700
Received: from ns1.dacor.net (ns1.dacor.net []) by twister.emerald.iea.com (NTMail 3.03.0016/1.agp1) with ESMTP id va351151 for <ntisp@iea-software.com> Sat, 12 Sep 1998 08:06:54 -0700
Received: by ns1.dacor.net with Internet Mail Service (5.5.2120.0)
id <RH3K9YBH> Sat, 12 Sep 1998 11:06:07 -0400
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 11:05:58 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2120.0)
Content-Type: text/plain
X-ListMember: azaini@rajawali.co.id [ntisp@iea-software.com]

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 G. Stossel, President Phone:
DACOR, Inc. FAX: 419.353.0149
519 W. Wooster Street Sales: 800.447.5333
Bowling Green, OH 43402-2763 03 USA Email:
WWW: http://www.dacor.com/