Re: mail()

From: Date: Wed, 20 Mar 2002 06:39:44 +0000
Subject: Re: mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89284@lists.php.net to get a copy of this message
On Wed, 20 Mar 2002, Jennifer wrote: > $to="jen@21yos.com"; > $from="jenvier@hotmail.com"; > $subject="Hi"; > $message="this message"; > mail($to, $subject, $message, "$from\r\nX-Priority: 1 (Highest)"); By the way, your From line is also mangled. You should have: $from = "From: jenvier@hotmail.com"; That's going in the additional headers section, in which you need to explicitly label the fields, so you need the "From:" part. miguel

« previous php.general (#89284) next »