R'twick Niceorgaw wrote:
> Hi David,
>
> On Thu, January 27, 2005 9:09 pm, David Edwards said:
>> Hi,
>>
>> $headers .= "MIME-Version: 1.0\n";
>> $headers .= "Content-type: text/plain; charset=iso-8859-1\n";
>> $headers .= "X-Priority: 1\n";
>> $headers .= "X-MSMail-Priority: High\n";
>> $headers .= "X-Mailer: php\n";
>> $headers .= "From: $emailfrom\n";
>
> I believe the headers have to end with a blank line? If I remeber
> correctly, the last line in the $headers should have two new lines like
>
> $headers .= "From: $emailfrom\n\n";

mail() will take care of that.

You might want to use \r\n instead of just \n, as that's what it's
technically supposed to be -- Though I think it works just fine on
Un*x-like boxes to use just \n...

You might want to add Reply-to: as well as From with the same setting to
keep more email clients happy.


-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to