Forum Moderators: coopster

Message Too Old, No Replies

Time is wrong on PHP Mail function time stamp

         

brucec

4:12 pm on May 24, 2005 (gmt 0)

10+ Year Member



I have a PHP script running on a Windows 2000 server with IIS and when I receive emails from the mail function in the script, the time is off by anywhere from 50 to 59 minutes, inconsistently.

Keep in mind that this also happens in certain ASP scripts and there is no setting for this in my PHP.INI file.

Has this happened to anybody and do you know how to solve it?

jatar_k

4:32 pm on May 24, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



that time is coming from your mail server itself. Maybe get it a new watch. ;)

brucec

5:43 pm on May 24, 2005 (gmt 0)

10+ Year Member



LOL. Jatar. I checked all the times and time zones on 4 web servers and they are all correct. I cannot figure this out.

jatar_k

5:59 pm on May 24, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



not sure why it is popping up but the timestamp on email messages doesn't come from php at all, or asp for that matter.

electricocean

8:08 pm on May 24, 2005 (gmt 0)

10+ Year Member



That happens to me too. Whne I set the date it's always a day off...