i want to send email which includes HTML contents with images. so, any way to send external image within body content not as an attachment.
My image resides under image folder of my project…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you’re using the .net
MailMessagetype you can setIsBodyHtml = true;and then write your<img>tags as you normally would using absolute paths e.g.www.example.com/images/image.png.For cleanliness sake, i read my HTML from an XML file, e.g.
And the XML file…