[Gambas-user] SMTP Date issue
Josh
purchasing at hhmachine.com
Wed Nov 29 14:02:06 CET 2017
The Date field is generated automatically by the Gambas SMTP component.
I have tried setting the computer for Local and UTC results are the same.
Date: Tue, 28 Nov 2017 12:46:44 GMT < --- This is date field generated by Gambas this morning...
Date: Wed, 29 Nov 2017 09:06:06 +0100 < --- This is date field in email from you...
Received: (qmail 27865 invoked by uid 399); 29 Nov 2017 12:46:44 -0000 < --- This is date field inserted by my email hosts receipt.
If I was a betting man I would say that it is the format that Gambas is ouputting the date.
Is there any way to change it and find out?
The SMTP component automatically creates the Date:
On Wed, 29 Nov 2017 09:06:06 +0100
Rolf-Werner Eilert <rwe-sse at osnanet.de> wrote:
> 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
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List
> https://lists.gambas-basic.org/listinfo/user
>
> Hosted by https://www.hostsharing.net
>
--
Josh <purchasing at hhmachine.com>
H&H Machine Shop
Akron and Ravenna OH
330-773-3327
Fax 773-6820
More information about the User
mailing list