Which property is used in the email to send the content as HTML



Which property is used in the email to send the content as HTML..

Answer / sudha

MailMessage mail = new MailMessage();
mail.To = <address>
mail.From = <address>
mail.Subject = emailSubject;
mail.BodyFormat = System.Web.Mail.MailFormat.Html;

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is the base class of Button control in .NET?

0 Answers  


What is CLR? How it will work?

3 Answers   NeoSoft,


What is .net3.0 and .net3.5?

0 Answers  


Please explain what garbage collection is and how it works. Provide a code example of how you can enforce garbage collection in .net?

0 Answers  


What is .net and .net framework?

0 Answers  






Explain what is reflection in microsoft .net context?

0 Answers  


What makes .net core cross platform?

0 Answers  


How different are interface and abstract class in .Net?

2 Answers  


Is .net is platform independent. If am using solaris, installing .net first u had to install framework, so framework is .exe file then it will not take in solaris or any other than windows,then how .net is platform independent.

1 Answers  


How will you make .NET programs work in Linux ?

0 Answers  


which methos do you invoke on the dataadapter control to load your generated dataset with data?

0 Answers  


What is the lapsed listener problem?

0 Answers  


Categories