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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the features of dot net?

530


Please explain what are an inheritance, polymorphism, and encapsulation?

574


What does jit do?

565


what is dotnet architecture? can anyone explain that.

3605


Explain me what is a design pattern and what is it for?

578






Explain the difference between managed and unmanaged code?

457


In code behind class, name the type of code found. Is it the server side code or client side code?

775


How can I tell if .net 3.5 is installed?

516


What does il do?

564


How does u handle this COM components developed in other programming languages in .NET?

1669


What is RPC? What is the use of it?

606


Explain the use of activex control in .net?

572


What is assembly in .net?

604


What is the purpose of IClonable interface in .NET?

600


Tell us what is a variable of implicit type and what is its scope?

571