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
 
Back
Top