can i use and *.html file as the body in mailmessage class in ASP.net C#

  • Thread starter Thread starter khawar
  • Start date Start date
K

khawar

i am tring to send email using mail message class in
asp.net using C# language.
can i use and *.html file as the body arg in mail message
class.
help
bye
 
Yes, you can. Make sure you set the BodyFormat of the MailMessage object
property to MailFormat.Html
 

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