Hi,
Is there a simple way to send an email from ASP.NET using the MailMessage
class with MyMessage.BodyFormat = MailFormat.Html, such that the body of the
email will come from an existing HTML file?
All the examples I was able to find have something like this:
string strBody = "<html><body><b>Hello World</b>" +
" <font color=\"red\">ASP.NET</font></body></html>";
MyMessage.Body = strBody;
But I want the content to come directly from an existing HTML file.
Thanks in advance.