Jump to content

mail function and email time sent


mmosel

Recommended Posts

It's strange, when I send an email via mail() in php (hosted on my local server), the time of the email get's stamped an hour ahead of my computer's time. When I send email via my email client, the time stamp is correct. Odd. The only thing I can think of is that it's not accounting for the daylight savings time shift. Anyone know about this?
Link to comment
Share on other sites

[!--quoteo(post=367095:date=Apr 20 2006, 11:38 PM:name=Dobakat)--][div class=\'quotetop\']QUOTE(Dobakat @ Apr 20 2006, 11:38 PM) [snapback]367095[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Does your computer has the same time as your host?
[/quote]

Well, in this case, I [i]am [/i]the host! :)
Link to comment
Share on other sites

[!--quoteo(post=367094:date=Apr 20 2006, 09:31 PM:name=mmosel)--][div class=\'quotetop\']QUOTE(mmosel @ Apr 20 2006, 09:31 PM) [snapback]367094[/snapback][/div][div class=\'quotemain\'][!--quotec--]
It's strange, when I send an email via mail() in php (hosted on my local server), the time of the email get's stamped an hour ahead of my computer's time. When I send email via my email client, the time stamp is correct. Odd. The only thing I can think of is that it's not accounting for the daylight savings time shift. Anyone know about this?
[/quote]

Sounds like a pretty reasonable assumption, especially if it's exactly one hour difference. Of course without OS info, there's very little else anyone can offer in aid.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.