Time wrong in Message Header sent Via Indy TIdSMTP 10.1.5

Giganews Newsgroups
Subject: Time wrong in Message Header sent Via Indy TIdSMTP 10.1.5
Posted by:  Rob Hoyer (robhoy…@alttek.ca)
Date: Mon, 17 Sep 2007

I have setup a program to send support email message.  Everything is working
great except the email message sent time is wrong.  I set the
TIdMessage.Date := Now() but 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.
Other messages that are working correctly report the following Date: Sun, 16
Sep 2007 22:16:31 -0700 translation 10:16 PM.

Any help to understand what I am doing wrong would be helpful.

Thanks,
Rob H.

Replies