Re: mail() and Verizon

From: Date: Tue, 05 Oct 2004 18:40:10 +0000
Subject: Re: mail() and Verizon
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198704@lists.php.net to get a copy of this message
The solution was a simple -f (see it in the extra headers just before the last sam@itab.com). Sets the envelope sender address when using sendmail with the -f sendmail option. mail("robin.vask@verizon.net, sam@arraymedia.com", "Testing the simple mail functions", "Did you get this one?", "From: sam@itab.com \n", "-fsam@itab.com"); > I believe the problem is that Verizon checks the MAIL FROM address > during the SMTP session against the domain portion of the From > header. If they don't match, the mail is rejected (or dropped). This > was an issue for a webboard I use...

« previous php.general (#198704) next »