Alaska Software Inc. - Timestap for email
Username: Password:
AuthorTopic: Timestap for email
Bernd ReinhardtTimestap for email
on Mon, 30 Jul 2007 14:18:29 +0200
Hi all.
If I send an email with asinet I can set all for example CC, BCC, Body ...
But I found no function so set the time.
The emails I send are all without timeinformation.
Any idea where I can set the time.
I send the emails over our local smpt-server.

regards
Bernd
Thomas Braun
Re: Timestap for email
on Mon, 30 Jul 2007 15:51:26 +0200
Bernd Reinhardt wrote:

> If I send an email with asinet I can set all for example CC, BCC, Body ...
> But I found no function so set the time.
> The emails I send are all without timeinformation.
> Any idea where I can set the time.

Did you try to use the :delHeader() and addHeader() methods of the
MIMEMessage() class?

The important part is that you should be aware of and adhere to the date
format defined by the RFC2822:

Date format:
http://tools.ietf.org/html/rfc2822#section-3.6.1

The "date" header:
http://tools.ietf.org/html/rfc2822#section-3.6.1

regards
Thomas