|
Posted by Ramon on 08/18/06 19:02
By sending a mail just with: mail(xxx@yyy.zzz, "test mail"), it goes fine.
But I need to send a html-mail, and then you have to specify the headers.
I have to use the php "mail()" function because I can't install additional
software on the server.
"Alvaro G. Vicario" <webmaster@NOSPAMdemogracia.com> wrote in message
news:18dlyab03gdg8$.5ec8b0qk27j2.dlg@40tude.net...
> *** Ramon escribi/wrote (Fri, 18 Aug 2006 20:36:33 +0200):
>> The variable was outside the piece of code:
>> $sTimestamp = date("r");
>>
>> I do this because otherwise I get the error message I wrote.
>
> You don't need to specify date headers, sendmail or whatever software
> performs the actual delivery takes care about such details.
>
> Do you get the same error message with, let's say, a one-liner sample
> code?
>
>
> --
> -+ http://alvaro.es - lvaro G. Vicario - Burgos, Spain
> ++ Mi sitio sobre programacin web: http://bits.demogracia.com
> +- Mi web de humor con rayos UVA: http://www.demogracia.com
> --
Navigation:
[Reply to this message]
|