|
Posted by Ramon on 08/18/06 19:37
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 programacin web: http://bits.demogracia.com
> +- Mi web de humor con rayos UVA: http://www.demogracia.com
> --
Navigation:
[Reply to this message]
|