|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19513 Mail() function generates wrong time
Submitted: 2002-09-20 01:54 UTC Modified: 2002-10-14 19:36 UTC
Avg. Score:3.7 ± 0.9
Reproduced:0 of 1 (0.0%)
From: carsten dot lahme at eds dot com Assigned:
Status: No Feedback Package: Mail related
PHP Version: 4.2.1 OS: windows2k + IIS5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: carsten dot lahme at eds dot com
New email:
PHP Version: OS:


 [2002-09-20 01:54 UTC] carsten dot lahme at eds dot com
after searching at google, finding several problems like mine, I've searched PHP.NET but didn't find anything related.
So here we are:
Sending a mail using PHP MAIL()-function generates a mail item with a time +3 hours to our realtime (e.g.: mail has been send at 7:00 GMT+1 Daylight, received mail item says: Mail has been send at 10:00 GMT+1 Daylight)

All timezone settings (server and client) have been crosschecked. No Errors visible.
Who can help ??

Carsten Lahme


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-26 18:12 UTC]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit

Thank you for your interest in PHP.

The time of the message actually determined by the SMTP server you are using. If believe this to be a PHP problem non the less, please include the FULL headers of a message sent by PHP in your response.
 [2002-09-27 02:19 UTC]
Setting this to feedback.

First, please try a newer version (preferable the NON stable from ).

There is some code in win32/sendmail.c related to time; a verification of the above would help a bit.
 [2002-10-14 19:36 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

 [2004-08-01 11:11 UTC] desalvomad1 at sbcglobal dot net
the wrong time is stamp on my mail that i sent but have the right time on the computer how do i fix that
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 21 07:01:29 2024 UTC