MailBee.NET Objects 4.0

DsnNotifyCondition Enumeration

Specifies events that trigger ESMTP server to send delivery status notification back to the sender of the message.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum DsnNotifyCondition

Remarks

If the SMTP server the message it submitted to supports ESMTP DSN (Delivery Status Notification) extension, it's possible to tell the server to send notifications on message delivery (successful, failed, or both) to the message sender.

If the SMTP server does not support ESMTP DSN, this value is ignored.

Members

Member NameDescriptionValue
Default Send notificaton at the server discretion. Usually, this is equivalent to either Failure or bitwise combination of Failure and Delay. 0
Failure Notify if message delivery fails. 1
Delay Notify if message delivery is delayed. 2
Success Notify if the message delivery succeeds. 4
Always Notify always. This value is a bitwise combination of Failure, Delay, and Success. 7
Never Do not send notification under any circumstances. 8

Requirements

Namespace: MailBee.SmtpMail

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee.SmtpMail Namespace