How to add Alternate views for email in C#.net

Use the AlternateViews property to specify copies of an e-mail message in different formats. For example, if you send a message in HTML, you might also want to provide a plain text version in case some of the recipients use e-mail readers that cannot display HTML content. Code :- using System.Net.Mail; // import System.Net.Mail; //serverDetails - Your smtp server details //recipient    - To mail ID public void MultipleViewsMailSend(string serverDetails, string recipient) { MailMessage msg = ne...
More