Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
DeliveryNotificationOptions Enum
Definition
- Namespace:
- System.Net.Mail
- Assemblies:
- netstandard.dll, System.Net.Mail.dll
- Assembly:
- System.Net.Mail.dll
- Assembly:
- System.dll
- Assembly:
- netstandard.dll
- Source:
- MailMessage.cs
- Source:
- MailMessage.cs
- Source:
- SmtpReplyReaderFactory.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the delivery notification options for email.
This enumeration supports a bitwise combination of its member values.
public enum class DeliveryNotificationOptions
[System.Flags]
public enum DeliveryNotificationOptions
[<System.Flags>]
type DeliveryNotificationOptions =
Public Enum DeliveryNotificationOptions
- Inheritance
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | No notification information will be sent. The mail server will utilize its configured behavior to determine whether it should generate a delivery notification. |
| OnSuccess | 1 | Notify if the delivery is successful. |
| OnFailure | 2 | Notify if the delivery is unsuccessful. |
| Delay | 4 | Notify if the delivery is delayed. |
| Never | 134217728 | A notification should not be generated under any circumstances. |
Applies to
Feedback
Was this page helpful?
