Jump to content


Photo

mail function and email time sent


  • Please log in to reply
3 replies to this topic

#1 mmosel

mmosel
  • Members
  • PipPipPip
  • Advanced Member
  • 66 posts

Posted 21 April 2006 - 04:31 AM

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?

#2 Dobakat

Dobakat
  • Members
  • PipPipPip
  • Advanced Member
  • 54 posts

Posted 21 April 2006 - 04:38 AM

Does your computer has the same time as your host?

#3 mmosel

mmosel
  • Members
  • PipPipPip
  • Advanced Member
  • 66 posts

Posted 21 April 2006 - 05:37 AM

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

Well, in this case, I am the host! :)

#4 gizmola

gizmola
  • Administrators
  • Advanced Member
  • 4,664 posts
  • LocationLos Angeles, CA USA

Posted 21 April 2006 - 05:43 AM

[!--quoteo(post=367094:date=Apr 20 2006, 09:31 PM:name=mmosel)--][div class=\'quotetop\']QUOTE(mmosel @ Apr 20 2006, 09:31 PM) View Post[/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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users