Mail in HTML format

  • Thread starter Thread starter Neel
  • Start date Start date
N

Neel

Hi

I have a webpage in asp.net on submit sends an email, I
want the body of the message to be in the HTML format.

what I am doing is creating an object of
say
oMailMessage = New Mail.MailMessage()

With oMailMessage

'set required parameters
.From =
.To =
.Subject =
.Body =
.BodyFormat = MailFormat.Html

End Withwith

but still I am getting an email in the text format,

can anyone suggest me at the earliest, thanks in advance
 
I've used HTML mail format, but I also passed HTML into the Body.

Maybe try setting the format prior to setting the Body?

-Eric
 
Back
Top