Page 1 of 1

Sent Time 5 Hours Behind

Posted: Thu Dec 11, 2008 7:01 pm
by brock
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

email
timezone
email and time

Write your message below:

I have the site setup to send ticket updates via a NOREPLY@domain.com. The problem is that when a ticket update is sent say at 10:00 AM, the email says the email was sent at 5:00 AM. The ticket on the site correctly says updated at 10:00 AM. Also, if i send an email directly from NOREPLY@domain.com, the email is tagged correctly as sent at 10:00 AM. What would be causing an email generated by the mail() function to look as though it was sent 5 hours ago? Thanks

Posted: Thu Dec 11, 2008 11:33 pm
by Sammy95
Hello..

Not sure about it, but I guess that the mail() command uses your server clock, and that one might be 5 hours behind Your time..?

So, check if the time in the email matches Your server clock.

Sammy :)

Posted: Fri Dec 12, 2008 5:50 pm
by Klemen
Like Sammy said - your server time is different than your local time. It's quite some work required to fix it all, this will be included in the next version.