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
[Back to original message]
|