Re: PHP's mail(): proper way to send a 'From' header

From: Date: Mon, 07 Jul 2008 18:33:32 +0000
Subject: Re: PHP's mail(): proper way to send a 'From' header
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-276392@lists.php.net to get a copy of this message
On Mon, Jul 7, 2008 at 2:17 PM, Eric Butera <eric.butera@gmail.com> wrote: > > Yep! Just a note on this though. You have to control the domain > you're forcing the return-path on or else it will get rejected by a > lot of servers because of SPF rules. It has bit my company in the > behind quite a bit recently. :) Thanks for adding that, Eric. I had forgotten to mention it. :-) And I've run into the same problems, especially in the last year or so. It was because of an inter-domain contact form, similar to email, that allowed users to mail each other online without giving out an actual email address. The forced FROM caused a lot of problems, which could only be fixed by making permanent changes to the DNS --- which the OP doesn't want to do in this case. -- </Daniel P. Brown> Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50/mo.

« previous php.general (#276392) next »