How do I send a single mail out that has both HTML content and Text content (asp.net)
Posted on 2003-11-03
I'm trying to send a mail out that has both HTML content and Text content. Depending on the recipients mail program(can it read text or html) they will either then see the mail as Text or as an HTML.
Currently I can do this:
mail.From = “firstname.lastname@example.org”
mail.Body = “this is my body it is my temple”
mail.BodyFormat = MailFormat.Html
mail.Subject = “this is my subject”
SmtpMail.SmtpServer = “This is my server IP”
mail.To = “email@example.com”
Obviously I could change the body format to .text, but then the html woulld not go through. Any Ideas?