Forum Moderators: phranque
From: postmaster@FIC
To: developer@example.com
Date: Thu, 1 Dec 2005 14:34:09 +0000
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="9B095B5ADSN=_01C5F67A948520D000000001fic"
Message-ID: <FRaqbC8wS00000001@fic>
Subject: Delivery Status Notification (Failure)
This is a MIME-formatted message.
Portions of this message may be unreadable without a MIME-capable mail program.
--9B095B5ADSN=_01C5F67A948520D000000001fic
Content-Type: text/plain; charset=unicode-1-1-utf-7
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
example@example2.com
--9B095B5ADSN=_01C5F67A948520D000000001fic
Content-Type: message/delivery-status
Reporting-MTA: dns;fic
Received-From-MTA: dns;FIC
Arrival-Date: Thu, 1 Dec 2005 14:34:09 +0000
Final-Recipient: rfc822;example@example2.com
Action: failed
Status: 5.0.0
--9B095B5ADSN=_01C5F67A948520D000000001fic
Content-Type: message/rfc822
Received: from FIC ([127.0.0.1]) by fic with Microsoft SMTPSVC(5.0.2195.6713);
Thu, 1 Dec 2005 14:34:09 +0000
Date: Thu, 01 Dec 2005 14:34:09 +0000
Subject: Comments
To: example@example2.com
From: example@example2.com <example@example2.com>
Return-Path: example@example2.com
Reply-To: example@example2.com
Message-ID: <FICEQv2ooskTMxtUkFI00000001@fic>
X-OriginalArrivalTime: 01 Dec 2005 14:34:09.0309 (UTC) FILETIME=[4A546CD0:01C5F684]
Name: phil
Email: example@example2.com
Comments: hello
----------------------
--9B095B5ADSN=_01C5F67A948520D000000001fic--
The .BDR File:
Unable to deliver this message because the follow error was encountered: "This message is a delivery status notification that cannot be delivered.".
The specific error code was 0xC00402C7.
The message sender was <>.
The message was intended for the following recipients.
example@example2.com
developer@example.com
The .BDP File comes up with some funky stuff, let me know if you want that aswel.
Thanks
NOTE: i changed the SMTP port manualy to 26 and edited the php.ini file to suit the new port.
[edited by: physics at 6:14 am (utc) on Dec. 2, 2005]
[edit reason] No specific domains please. Examplified. [/edit]
The message sender was <>.
Check that your script is specified a valid sender for the emails.
$headers = 'From: me@localdomain.tld'
You could also try adding valid emails into X-Receiver and X-Sender headers.
Also, in the IIS management panel the smpt server now shows the status of unknown and i cant view the sessions as it thinks its not running.
Summary, the script works, the emails going through just not being sent any more ideas?
x-sender? Can you tell me some more about this as im not to great with headers.
TIA
Ok i've had a tinker with IIS after uninstalling and installing it, yet again
Ouch!
You seem to have a separate problem now, which is that SMTP isn't working - this means everything will wait in the queue folder until SMTP collects it (it may well end up back in badmail once SMTP is running).
Try going to 'administrative tools >>services' and restarting SMTP services manually, and check the event log for related errors.
relay settings to allow, and also allowed for anonymous access
Hope this server isn't accessible from the internet ;)
I've checked a few errors and it said something about not being able to resolve gmail.com (this is the correct domain for the sender email) Restarting now to see what the crack is if any...
I know if i upload the script to the actual webhosts server for the site it will work as i did it the other day, i just need to get it to work locally so i can work offline and avoid using a remote server for testing :¦
Played ping pong with gmail.com via command (cmd) line window and was sucessful...
So... tricky one aye
Questions: I wouldn't need that dodgy messenger service running (win2k) for smtp to work correctly (I dont think so on this one but need to ask as i always disable this service)
One other thing, as im using apache for my webserver ive changed the port of the iis webserver to 8080 and stopped it from running, would this cause an issue? I hasn't in the past when ive had it all working but again might aswel ask...
>>telnet fic 26220 FIC Microsoft ESMT
830 ready at Fri, 2 Dec 2005 09:24:56 +0000 MAIL Service, Version: 6.0.3790.1>>HELO me.localdomain
250 FIC Hello [1.1.1.1]
>>MAIL FROM: example@example2.com
250 2.1.0 example@example2.com....Sender OK
>>RCPT TO: example2@example2.com
250 2.1.5 example2@example2.com
>>DATA
354 Start mail input; end with <CRLF>.<CRLF>
>>Just a test
>>.
>>250 2.6.0 <FIClncFLoRne2043062b@FIC> Queued mail f
or delivery>>quit
221 2.0.0 FIC Service closing transmission channel