HTML Content-type
-
In the .NET 2.0, there is the new System.Net.Mail which I've been experimenting with. I cannot seem to come up with a way of changing the Content-type of my mail message to text/html. Even if I add this parameter to the MailMessage's header, the actual message's header comes through, and I will see 2 Content-type lines...the 2nd being text/plain, which puts my message back to normal text. In the System.Net.Mime class, when I create a new mime, I can specify the content-type in the constructor as a parameter...but this seems to be the only place I have access to do this. Is there a current way to set the Content-type in a mail message, or to set the BodyContentType to an already defined Mime variable? If there is no way, does anybody know if Microsoft is going to be adding this before the official release of VS05, and the 2.0 Framework? Thanks for the information!!