Re: php mail() function

From: Date: Sat, 24 Oct 2009 21:20:09 +0000
Subject: Re: php mail() function
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-299308@lists.php.net to get a copy of this message
James Prentice wrote:
It sends the bounced message to /var/mail/www-data and I get this: --19BE8A70109.1256417846/homemade Content-Description: Delivery report Content-Type: message/delivery-status Reporting-MTA: dns; homemade X-Postfix-Queue-ID: 19BE8A70109 X-Postfix-Sender: rfc822; www-data@homemade Arrival-Date: Sat, 24 Oct 2009 13:57:26 -0700 (PDT) Final-Recipient: rfc822; xxx@shaw.ca Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; shawmail.vc.shawcable.net --19BE8A70109.1256417846/homemade Content-Description: Undelivered Message Content-Type: message/rfc822 Received: by homemade (Postfix, from userid 33)
        id 19BE8A70109; Sat, 24 Oct 2009 13:57:26 -0700 (PDT)
To: xxx@shaw.ca
Although 5.0.0 actually means something else I'm pretty sure you are rejected because of an invalid sender address or domain. Use a sender address that is valid with your ISP's mail relay. Just my $0.02 -- per

« previous php.general (#299308) next »