![Picture of Manuel Lemos Picture of Manuel Lemos](/picture/user/1.jpg)
Manuel Lemos - 2020-09-21 23:06:51 -
In reply to message 4 from Sjake It
Hello Sjake,
I tracked down the changes done to the smtp_message_class and the format used to set the Date: header was something that was changed in 2006.
So I wonder if the issues is due to the timezone not be correctly set in your server on which you run PHP.
Can you please send me a message to mlemos at acm dot org (replace the at and dot words by @ and .), so I can analyse what the headers show?
If you can set the body with the following PHP code it would be even better.
$body = "Date() time: ".date("D, d M Y H:i:s T")." strftime("%a, %d %b %Y %H:%M:%S %Z") time: ".strftime("%Z");