[Gambas-user] SMTP Date issue
g4mba5 at gmail.com
Wed Nov 29 14:05:37 CET 2017
Le 29/11/2017 à 09:06, Rolf-Werner Eilert a écrit :
> Am 28.11.2017 18:43, schrieb Josh:
>> I have working on a program to send emails to a list of vendors for
>> quoting materials.
>> Sending the email works but the date that is enetered in the date
>> field is of the email is yesterday.
>> So the emails so up in yesterdays mail......
>> I am using New York for my time zone and my regular email app and
>> everything else works fine.
>> Gambas version 3.8.4 running on Lubuntu 16.04
>> Any suggestions appreciated.
> Sounds like a time string handling problem, not so much a specific SMTP
> one. Do you use the Gambas date/time functions?
> On New York time zone, you are 6 hours back to GMT, so the mail's date
> might be set to the day before somewhere on its way from Gambas' SMTP
> function through your Linux mailer down to your provider. Does your own
> computer run a BIOS clock on GMT with the system set to locale?
> This is just a guess, maybe it's something completely different...
The SmtpClient class sends the mail date in GMT. Can you show us the
header of your mail and tell which date you expected?
More information about the User