You are here: Re: Cannot receive HTML mail on same host « PHP Programming Language « IT news, forums, messages
Re: Cannot receive HTML mail on same host

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация