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.
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.