MailMessageDateSent Property
Gets or sets the date and the time when the mail message was sent.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public DateTime DateSent { get; set; }

Property Value

Type: DateTime
The date when the mail message was sent. The default value is MinValue.
MailBeeDateParsingExceptionA date parsing error occurred and ThrowExceptions is true.
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