Fejl ved mail()
Når jeg sender en mail via PHP:mail("foo@bar.dom","test","test","From: test-user <test-user@bar.dom>");
Får jeg følgende retur:
-----------------------------------------------------------------
This is a MIME-encapsulated message.
--7CCE8B9400D.1076968290/sandra
Content-Description: Notification
Content-Type: text/plain
This is the Postfix program at host sandra.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the message returned below.
The Postfix program
<tigertool@4bp.dk>: host backup-mx.post.tele.dk[195.41.53.68] said: 504
<www-data@sandra>: Sender address rejected: need fully-qualified address
--7CCE8B9400D.1076968290/sandra
Content-Description: Delivery error report
Content-Type: message/delivery-status
Reporting-MTA: dns; sandra
Arrival-Date: Mon, 16 Feb 2004 22:48:10 +0100 (CET)
Final-Recipient: rfc822; tigertool@4bp.dk
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host backup-mx.post.tele.dk[195.41.53.68] said: 504
<www-data@sandra>: Sender address rejected: need fully-qualified address
--7CCE8B9400D.1076968290/sandra
Content-Description: Undelivered Message
Content-Type: message/rfc822
-----------------------------------------------------------------
Hvis jeg sender til en server der ikke har en tdc-adsl forbindelse, f.eks. en cybercity forbindelse, altså hvor mx-backup så er anderledes - så smutter mailen igennem.
Hvad kan fejlen være?
