EnvelopeDate Property
Gets the date and time when the message was composed.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public DateTime Date { get; }

Property Value

Type: DateTime
A DateTime value indicating when the message was created, or MinValue if this information is not available.
The server obtains this value from "Date:" header of the mail message.
Note Note
DatesAsUtc property can be set to force this property return UTC (GMT) date.

In case if you encounter a message with invalid values in Date (for instance, 79 seconds while 59 is the maximum allowed limit), you can consider enabling FixBadDates to let MailBee tolerate such errors if they are not significant.

See Also