I am moving an application that involves sending email from 1.1 to 2.0. I am
attempting to convert the email-sending code from System.Web.Mail to
System.Net.Mail . I think I have most of this accomplished, but I am trying
to find the System.Net.Mail equivelant of
System.Web.Mail .MailMessage.Bo dyFormat. In the past, I used code such as the
following to specify whether the message was html or text:
mymessage.BodyF ormat = Mail.MailFormat .Html
However, I cannot find a property of the System.Net.Mail .MailMessage class
that specifies this. What do I do to specify html or text? Thanks.
--
Nathan Sokalski
njsokalski@hotm ail.com
attempting to convert the email-sending code from System.Web.Mail to
System.Net.Mail . I think I have most of this accomplished, but I am trying
to find the System.Net.Mail equivelant of
System.Web.Mail .MailMessage.Bo dyFormat. In the past, I used code such as the
following to specify whether the message was html or text:
mymessage.BodyF ormat = Mail.MailFormat .Html
However, I cannot find a property of the System.Net.Mail .MailMessage class
that specifies this. What do I do to specify html or text? Thanks.
--
Nathan Sokalski
njsokalski@hotm ail.com
Comment