Re: Mail sent an hour before I send it
| From: | Peter Misun | Date: | Thu, 19 Jun 2003 09:16:58 +0000 |
| Subject: | Re: Mail sent an hour before I send it | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20423@lists.php.net to get a copy of this message | ||
how caan i offset the time zone for mail sending by mail() function?
i have same problem and time difference is 3hours and it's really bad
5o
Max Graham wrote:
> What timezone is the server in relative to you?
>
> Perhaps it's just the mail form itself that misinterprets the time ... I
> encountered a similar issue when my host outsourced the hosting from his own
> server in the same timezone I'm in to a server 2 hours ahead of here ... I
> had to change the scripts on my site to offset the time zone
>
> > When I send email through php, the mail is stamped witha time that is an
> > hour after I send it. I have checked the time zone and daylight
> > settings one ALL servers. =20
> > =20
> > I forwarded it to another account and this is the original message.
> > This was actually sent at 7:53 am. When I log onto the mail server
> > directly and send mail the time is correct, so it appears to have
> > something to do with PHP. Does anyone have any thoughts on this?
> > =20
--
Mgr. Peter Misun
MicroStep-MIS, Ilkovicova 3, 841 04 Bratislava, Slovakia
tel: +421/ 2/ 602 00 127, 111, fax: +421/ 2/ 602 00 180