Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DeliveryNotificationOptions Enumeration

DeliveryNotificationOptions Enumeration

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)

[FlagsAttribute]
public enum DeliveryNotificationOptions

Member nameDescription
DelayNotify if the delivery is delayed.
NeverA notification should not be generated under any circumstances.
NoneNo notification information will be sent. The mail server will utilize its configured behavior to determine whether it should generate a delivery notification.
OnFailureNotify if the delivery is unsuccessful.
OnSuccessNotify if the delivery is successful.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft