Sending Email Messages with Embedded Images
Sending Email Messages with Embedded Images
Usually, when we implement email notification from various applications we send emails containing HTML body. And when there should be an image within the email body we put the image on a web server and use a reference to that image in the HTML code. Following as an example of this:
Hello world <img alt="sample image" src="http://webserveraddress/Images/sample_image.png" />
The drawback with this scenario is the need for connection to the web server when reading the email. This is causing issues, for example, when the server is part of an intranet network that is not always accessible by the clients. More