Re: from oddity

From: Date: Thu, 07 Dec 2000 04:28:48 +0000
Subject: Re: from oddity
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29056@lists.php.net to get a copy of this message
> When I put this in the mail function > mail($email, "Pacifier Sales Group - $title", $body, "From: > $title\nReply-To: $sales@pacifier.com\n"); > > the from comes up as search.engine.submission (with the periods) > can I fix this to remove the periods? What is the value of $title? It has to be a valid email that you put into From:, and if it isn't, then you are going to get weird things happening. You also should use \r\n instead of just \n to be RFC-compliant. Oh yeah: I think the T in Reply-to: is lowercase... Check to be sure.

« previous php.general (#29056) next »