|
Posted by Steven Musumeche on 08/19/06 15:20
You don't have to set the date to send an HTML email. Just specify the
headers that you want to change, and let sendmail handle the others(like
Date).
-Steven
Ramon wrote:
> Guess what,
> I found the problem in the PHP documentation:
>
> "Since PHP 5.1.0 (when the date/time functions were rewritten), every call
> to a date/time function will generate a E_NOTICE if the timezone isn't
> valid, and/or a E_STRICT message if using the system settings or the TZ
> environment variable."
>
> So, I added the function: date_default_timezone_set ("Europe/Amsterdam");
> and the problems were gone...
>
> Thanks Alvaro,
> for your efforts!
>
>
>
> "Alvaro G. Vicario" <webmaster@NOSPAMdemogracia.com> wrote in message
> news:jqmono3yoc8j.1r47xyv0a2dv5.dlg@40tude.net...
>> *** Ramon escribió/wrote (Fri, 18 Aug 2006 21:02:18 +0200):
>>> 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.
>> Yes, but not *all* headers, only additional ones.
>>
>> Sorry, I'm lost. I can't figure our where that error message comes from.
>> It
>> doesn't have the typical format of PHP messages... BTW, I presume you
>> followed its instructions and didn't work, didn't your?
>>
>>
>> --
>> -+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
>> ++ Mi sitio sobre programación web: http://bits.demogracia.com
>> +- Mi web de humor con rayos UVA: http://www.demogracia.com
>> --
>
>
[Back to original message]
|