[Gambas-user] SMTP Date issue

Josh purchasing at hhmachine.com
Wed Nov 29 14:11:11 CET 2017


Here is complete source of email to myself after i recieve it....



Return-Path: <purchasing at hhmachine.com>
Delivered-To: purchasing at hhmachine.com
Received: (qmail 27865 invoked by uid 399); 29 Nov 2017 12:46:44 -0000
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	mail1211.opentransfer.com
X-Spam-Level: **
X-Spam-Status: No, score=2.6 required=5.0 tests=DATE_IN_PAST_12_24,MISSING_MID,
	RDNS_NONE autolearn=disabled version=3.2.5
Received: from unknown (HELO josh-HH) (pbs:purchasing at hhmachine.com@96.11.75.58)
  by mail1211.opentransfer.com with ESMTPM; 29 Nov 2017 12:46:44 -0000
X-Originating-IP: 96.11.75.58
Date: Tue, 28 Nov 2017 12:46:44 GMT
From: <purchasing at hhmachine.com>
Subject: Test Mail
To: purchasing at hhmachine.com
MIME-Version: 1.0
Content-Type: text/plain;charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Length: 20

This is the message.




On Wed, 29 Nov 2017 14:05:37 +0100
Benoît Minisini <g4mba5 at gmail.com> wrote:

> 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.
> >>
> >> 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
> > 
> 
> The SmtpClient class sends the mail date in GMT. Can you show us the 
> header of your mail and tell which date you expected?
> 
> Thanks.
> 
> -- 
> Benoît Minisini
> 
> --------------------------------------------------
> 
> 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