Hi.
How can we catch and manage Delivery Notification Options in System.Net.Mail. Please help me. I Need it Urgent... and also how can i get the success mail id's and failure mail id's, after sending a mail...
Thanks in Advance...........
Mulukutla.
Hello Mulukutla,
I assume you're already aware of the DeriveryNotificationOptions property on System.Net.Mail.MailMessage. The only tricky part to using that property is that its enum type represents a bitfield, so you should set it to the sum of the options you want to apply. For example, if you want delivery notification on delay, failure, or success, you should set the property toDeliveryNotificationOptions.Delay + DeliveryNotificationOptions.OnFailure + DeliveryNotificationOptions.OnSuccess.
HTH,
Clay
0 comments:
Post a Comment