MailMessageDateSent Property |
Gets or sets the date and the time when the mail message was sent.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public DateTime DateSent { get; set; }
Public Property DateSent As DateTime
Get
Set
Property Value
Type:
DateTime
The date when the mail message was sent. The default value is
MinValue.
Exceptions Remarks This value is taken from "X-Date-Sent" header. It's not a standard header and most e-mails won't have it set.
However, MailBee sets this header when you convert an e-mail from Outlook .MSG format into .EML format (using
MsgConvert class).
The same way, if you set this header, "Date Sent" value will appear in the resulting .MSG if you're doing .EML-to-.MSG conversion.
See Also