Emailing in HTML

  • Thread starter Thread starter Steven Bazeley
  • Start date Start date
S

Steven Bazeley

Is this possible in VB.NET using System.Web.Mail ?

What is the best way to programmatically read HTML syntax into a string
variable so it can be loaded programmatically
into the body of an email and sent?
 
Yes you can send HTML email. The MailMessage class has a BodyFormat
property which can be either MailFormat.Text or MailFormat.Html

I common approach to reading HTML into a string is to store the information
into an XML or Database table. From there you get the value and assign it
to the Body property of the MailMessage.

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top