how to send a formated mail

Posted by Artisingh30 under ASP.NET on 1/20/2011 | Points: 10 | Views : 1347 | Status : [Member] | Replies : 1
hi
i want to send a formatted mail from my website.i m able to send mail but need is a formatted mail (who carry some images with formated text) so plz help me.
thanks




Responses

Posted by: SheoNarayan on: 1/20/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
First create a html of the content (formatted) you want to send as email and set IsBodyHtml = true; to the Message object and you should be able to send formatted email.

Read this for more details http://www.dotnetfunda.com/articles/article1106-sending-email-with-attachment-in-aspnet-.aspx

You can also embed the image into the email, Watch this video to know how http://www.asp.net/general/videos/how-do-i-embed-an-image-in-an-email-with-aspnet. Read this article that will also help http://aspalliance.com/1354_Sending_HTML_Mail_with_Embedded_Image_in_NET.all.

Thanks!

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Artisingh30, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response