DsnNotifyCondition Enumeration |
Namespace: MailBee.SmtpMail
Member name | Value | Description | |
---|---|---|---|
Default | 0 | Send notificaton at the server discretion. Usually, this is equivalent to either Failure or bitwise combination of Failure and Delay. | |
Failure | 1 | Notify if message delivery fails. | |
Delay | 2 | Notify if message delivery is delayed. | |
Success | 4 | Notify if the message delivery succeeds. | |
Always | 7 | Notify always. This value is a bitwise combination of Failure, Delay, and Success. | |
Never | 8 | Do not send notification under any circumstances. |
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.