View Single Post
  #4 (permalink)  
Old Sep 5th, 2006, 09:23
u2orange u2orange is offline
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Re: asp.net send email problem

Try changing the following line from:
Code: Select all
mail.BodyFormat = MailFormat.Text
to
Code: Select all
mail.BodyFormat = Mail.MailFormat.HTML ' for HTML formatted email
or
Code: Select all
mail.BodyFormat = Nothing ' for plaintext or just comment out
If the users are selecting the mail format, use a dropdown or radio in your presentation and then in your codebehind use a "select case" or "if.. else.." to handle the condition.

HTH
Reply With Quote