Re: mail problem at interland

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux