Hi Abrar,
Check your Template, if you can add Base 64 content in your email (HTML template). if so you can pass your Base 64 as a token.
For converting the image to base64 you can make use of base 64 Encode in Community Commons.
You can Design your Template using html Code.
example html code :
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4
//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
your template will look like :
< img src=”data”image/png;base64,{base64} >
Hope it helps
The answer differs from the email module used:
Email Connector: https://marketplace.mendix.com/link/component/120739
https://docs.mendix.com/appstore/connectors/email-connector/#43-using-email-templates
The template can contain images
Email Service: https://marketplace.mendix.com/link/component/118393
https://docs.mendix.com/appstore/app-services/email-service/#generate-html-body
The HTML body can contain the image
Email module with Templates (deprecated): https://marketplace.mendix.com/link/component/259
https://docs.mendix.com/appstore/modules/email-with-templates/
Use the HTML body for the template and image
Go Make IT
(If this helped you, please accept the answer)