Email To Script Problem

liunx

Guest
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:<br /><br />---------------------------------------------------------------------------<br />This is an automatically generated Delivery Status Notification.<br /><br />Your message has been successfully relayed to the following recipients, but the requested delivery status notifications may not be generated by the destination.<br /><br />[email protected]<br /><br />---------------------------------------------------------------------------------------<br /><br />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!!:<br /><br />---------------------------------------------------<br /><br /><br />This message was created automatically by mail delivery software.<br /><br />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:<br /><br />pipe to |/home/aisamcg/www/cgi-bin/testmail.pl<br />generated by <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --><br />local delivery failed<br /><br />------ This is a copy of the message, including all the headers. ------<br /><br />Return-path: <br />Received: from [195.188.213.5] (helo=smtp-out2.blueyonder.co.uk)<br />by server68.totalchoicehosting.com with esmtp (Exim 4.34)<br />id 1CAuzg-0002C2-KA<br />for <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->; Fri, 24 Sep 2004 14:40:32 -0400<br />Received: from NHOFFICE ([82.33.73.66]) by smtp-out2.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713);<br />Fri, 24 Sep 2004 19:41:04 +0100<br />Return-Receipt-To: "new Horizonz" <br />Reply-To: <br />From: "new Horizonz" <br />To: <br />Subject: test<br />Date: Fri, 24 Sep 2004 19:40:41 +0100<br />Organization: new Horizonz<br />Message-ID: <br />MIME-Version: 1.0<br />Content-Type: multipart/alternative;<br />boundary="----=_NextPart_000_004F_01C4A26E.63196F10"<br />X-Priority: 3 (Normal)<br />X-MSMail-Priority: Normal<br />X-Mailer: Microsoft Outlook, Build 10.0.2616<br />Importance: Normal<br />X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165<br />Disposition-Notification-To: "new Horizonz" <br />X-OriginalArrivalTime: 24 Sep 2004 18:41:04.0170 (UTC) FILETIME=[0BCF10A0:01C4A266]<br /><br />This is a multi-part message in MIME format.<br /><br />------=_NextPart_000_004F_01C4A26E.63196F10<br />Content-Type: text/plain;<br />charset="us-ascii"<br />Content-Transfer-Encoding: 7bit<br /><br />test<br /><br />------=_NextPart_000_004F_01C4A26E.63196F10<br />Content-Type: text/html;<br />charset="us-ascii"<br />Content-Transfer-Encoding: quoted-printable<br /><br />test<br /><br />------=_NextPart_000_004F_01C4A26E.63196F10--<br /><br />--------------------------------------------<br /><br />Can anyon advise how I can stop the mail server reporting a delivery failure for this?<br /><br />Many thanks<br /><br />Alan<!--content-->
 
Back
Top