[Gambas-user] SMTP Date issue

Rolf-Werner Eilert rwe-sse at osnanet.de
Wed Nov 29 09:06:06 CET 2017


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.
>
> Thanks
>

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...

Regards
Rolf



More information about the User mailing list