You are here: Re: mail does not get sent... « All PHP « IT news, forums, messages
Re: mail does not get sent...

Posted by J.O. Aho on 12/13/06 11:24

Gernot Frisch wrote:
>> $header="From: a@b.c\r\nMIME-Version: 1.0\r\nContent-Type:
>> multipart/related;
>> boundary=\"".md5(time())"\"";
>>
>> Use a valid from address and you will get the response from the mail
>> server why it don't send the mail. (I'm assuming you are using the
>> mail() and the email() is just a typo) mail() returns true if the
>> mail server did receive the mail, no matter if the mail was rejected
>> or sent.
>
> I used the same address for recipent/sender now, but it didn't change
> a thing. My header was seperated with \n (unix server).

You have to follow RFC1870 which requires \r\n, no matter if you are using a
Unix, Linux or even microsoft.

I do suggest you begin with a simple plain text mail and see if the mailserver
allows the webserver user to send mail.


--

//Aho

 

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

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