|
Posted by Remon Huijts on 05/16/05 01:55
Tim Roberts wrote:
> Remon Huijts <trsteno@hotmail.com> wrote:
>
>>When I use php mail() in a script on my localhost to send an HTML
>>message to an e-mailaccount on my online host, all is fine.
>>When I use php mail() in a script on my online host to send an HTML
>>message to some e-mailaccount other than on my online host, all is fine.
>>
>>But when I use php mail() in a script on my online host to send an HTML
>>message to an e-mailaccount on that same online host, I receive the
>>message code as plain text.
>>
>>Does anyone know why this happens?
>
>
> mail() can't do that. Are you using the same mail reader in all cases,
> with the same options? Are you absolutely sure?
Yes, it's the same mail reader, with the same options. I ran the script
on my localhost and it worked, then uploaded the script and thus tried
to send the same html message to the same recipient. This test fails
when the recipient is on the same domain name.
Absolutely sure, I only use one mail reader (Thunderbird) and I read my
mail at home only.
Somebody suggested that the (mis)use of line endings could cause this,
but I have not looked into that yet.
Remon.
Navigation:
[Reply to this message]
|