Sometimes it is necessary to add images to the email templates so that they are rendered in the recipient's email client.
One example could be corporate email signatures with company logos.
There are multiple steps to achieve this:
Create a HTML img tag like :
<img width="100px" src="data:image/png;base64,iVBORw0..."> |
where "iVBORw0..." is the base64 encoded format of your image data. Change image/png to image/jpeg if you want to add JPG images instead of PNGs.
More details on adding a signature is in the documentation: Add Signature with Company Logo to Emails
|