Describes the delivery notification options for e-mail.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace:
System.Net.Mail
Assembly:
System (in System.dll)

Syntax
<FlagsAttribute> _
Public Enumeration DeliveryNotificationOptions
[FlagsAttribute]
public enum DeliveryNotificationOptions
[FlagsAttribute]
public enum class DeliveryNotificationOptions
[<FlagsAttribute>]
type DeliveryNotificationOptions

Members
| Member name | Description |
|---|
| None | No notification information will be sent. The mail server will utilize its configured behavior to determine whether it should generate a delivery notification. |
| OnSuccess | Notify if the delivery is successful. |
| OnFailure | Notify if the delivery is unsuccessful. |
| Delay | Notify if the delivery is delayed. |
| Never | A notification should not be generated under any circumstances. |

Version Information
.NET Framework
Supported in: 4, 3.5, 3.0, 2.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

See Also