andrewdavey / postal

Email sending for asp.net mvc using the view engine system to render emails.
http://aboutcode.net/postal
MIT License
536 stars 169 forks source link

Image tags getting stripped from my view #89

Closed mikevill closed 9 years ago

mikevill commented 9 years ago

I am using an MVC 5 view to send an email and in the view I am using image tags to display an image in the email. The email is sent fine and all the text is shown but when I open it, the entire image tag has been removed and thus, of course, the image is not displayed.

Edited to add: While researching more on this subject, I found that in order to use the Html helper EmbedImage I have to create text and html versions of my email and use the helper in the Html version. So I did that and instead of displaying the images on the email, it sent them as attachments. I need them displayed on the email.

mikevill commented 9 years ago

Never mind... the email is being sent to the spam folder so it strips the images from the email. It's late... I am tired. :-