Jump to content

Recommended Posts

Posted

I am developing a script that will be activated automatically each time a new email arrives at a specified email address and process the data. I have seuceeded in getting the script (Perl) to run when the email arrives and as I track the emails sent from Outlook I get the standard notification to say that the email has arrived:

 

---------------------------------------------------------------------------

This is an automatically generated Delivery Status Notification.

 

Your message has been successfully relayed to the following recipients, but the requested delivery status notifications may not be generated by the destination.

 

update@newhorizonz.net

 

---------------------------------------------------------------------------------------

 

Now the problem is that although the script runs and I get emailed back my results I also receive a Mail delivery failed report which says that the script to which filter the email didn't could not receive the email (although it has because the email ran the script!!:

 

---------------------------------------------------

 

 

This message was created automatically by mail delivery software.

 

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

 

pipe to |/home/aisamcg/www/cgi-bin/testmail.pl

generated by update@newhorizonz.net

local delivery failed

 

------ This is a copy of the message, including all the headers. ------

 

Return-path:

Received: from [195.188.213.5] (helo=smtp-out2.blueyonder.co.uk)

by server68.totalchoicehosting.com with esmtp (Exim 4.34)

id 1CAuzg-0002C2-KA

for update@newhorizonz.net; Fri, 24 Sep 2004 14:40:32 -0400

Received: from NHOFFICE ([82.33.73.66]) by smtp-out2.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713);

Fri, 24 Sep 2004 19:41:04 +0100

Return-Receipt-To: "new Horizonz"

Reply-To:

From: "new Horizonz"

To:

Subject: test

Date: Fri, 24 Sep 2004 19:40:41 +0100

Organization: new Horizonz

Message-ID:

MIME-Version: 1.0

Content-Type: multipart/alternative;

boundary="----=_NextPart_000_004F_01C4A26E.63196F10"

X-Priority: 3 (Normal)

X-MSMail-Priority: Normal

X-Mailer: Microsoft Outlook, Build 10.0.2616

Importance: Normal

X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

Disposition-Notification-To: "new Horizonz"

X-OriginalArrivalTime: 24 Sep 2004 18:41:04.0170 (UTC) FILETIME=[0BCF10A0:01C4A266]

 

This is a multi-part message in MIME format.

 

------=_NextPart_000_004F_01C4A26E.63196F10

Content-Type: text/plain;

charset="us-ascii"

Content-Transfer-Encoding: 7bit

 

test

 

------=_NextPart_000_004F_01C4A26E.63196F10

Content-Type: text/html;

charset="us-ascii"

Content-Transfer-Encoding: quoted-printable

 

test

 

------=_NextPart_000_004F_01C4A26E.63196F10--

 

--------------------------------------------

 

Can anyon advise how I can stop the mail server reporting a delivery failure for this?

 

Many thanks

 

Alan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...