Re: Time wrong in Message Header sent Via Indy TIdSMTP 10.1.5

Giganews Newsgroups
Subject: Re: Time wrong in Message Header sent Via Indy TIdSMTP 10.1.5
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Tue, 18 Sep 2007

"Rob Hoyer" <robhoy…@alttek.ca> wrote in message
news:EA893781DB35E340robhoy…@alttek.ca...

> I set the TIdMessage.Date := Now()

Set the TIdMessage.UseNowForDate property to True instead.

> the header contains the following date line:
> Date: Mon, 17 Sep 2007 11:18:06 +0000,  I assume that the
> +0000 meams GMT and that would explain why the email
> message says is was sent at 4:18 am.

Yes.  Which version of Indy are you using?  If Indy 10, there were some GMT
offset bugs in earlier releases that have already been fixed.

Gambit

Replies

None

In response to

Time wrong in Message Header sent Via Indy TIdSMTP 10.1.5 posted by Rob Hoyer on Mon, 17 Sep 2007