MessageBuilderConfigSetDateOnSend Property
Indicates whether the current date and time should be added to the message at the moment of sending or submitting to the pickup folder.

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

Property Value

Type: Boolean
true if the current date and time should be put into Date header of the message at the very moment of sending or submitting to the pickup folder; otherwise, false. The default value is true.
Remarks
MessageBuilderConfig object cannot be used on its own. To access its members, the developer should use MailMessage.Builder property.
Note Note
When submitting messages to the pickup folder, you may want to set this property to false and make the actual SMTP agent (like MailBee.NET Queue) set this value when connecting to the SMTP server. Otherwise, if e-mails are generated and delivered at a different time, the spam filter on the recipient's end may consider your e-mails spam. This is because it's common for spam e-mails to have different creation and delivery dates.
Note Note
This property is ignored when the message is being sent via EWS rather than SMTP (EWS limitation).
See Also