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.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool SetDateOnSend { get; set; }
Public Property SetDateOnSend As Boolean
Get
Set
Property Value
Type:
Booleantrue 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 |
---|
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 |
---|
This property is ignored when the message is being sent via EWS rather than SMTP (EWS limitation). |
See Also