How to change message format on Mail Message delivery Option

Sep 21 2015 1:03 PM
I am  Using SMTP server to send  mails in my application.
When the mail delivery fail or success return a message to mail id using DeliveryNotificationOptions.OnSuccess  It works fine but
  Is it possible to set a custom message temple to send On success or Failure?
I  recieved message  like  
 

Delivery has failed to these recipients or groups:

[email protected]
A problem occurred and this message couldn't be delivered. Check to be sure the e-mail address is correct. If the problem continues, please contact your helpdesk.

Diagnostic information for administrators:

Generating server: SMTP HOST

#554 5.4.4 SMTPSEND.DNS.NonExistentDomain; nonexistent domain ##

Original message headers:

Instead of above message is it possible to set my message?
 

Answers (1)