Sent Time 5 Hours Behind

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
brock
Posts: 1
Joined: Thu Dec 11, 2008 6:55 pm

Sent Time 5 Hours Behind

Post 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
Sammy95
Posts: 6
Joined: Thu Dec 04, 2008 6:52 pm

Post 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 :)
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply