Hey all, I need to be able to add an image from a collection into a string for the purpose of sending it to an email API. This is an HTML Snippet that does work based on this documentation https://docs.mendix.com/refguide/images/: <html> <img src="/img/Email$Images$Image1.png" alt="Image 1" width="143" height="96"> <p>EMAIL BODY</p> </html> However, I need to access this image within a string sent to an email api: '<img src="/img/Email$Images$Image1.png" alt="Image 1" width="143" height="96"> <p>EMAIL BODY</p>’ An doing something like this just gives me undefined variables: '<img src="/img/Email' + $Images + $Image1.png + '" alt="Image 1" width="143" height="96"> <p>EMAIL BODY</p>’ Please help, Thank you!
asked
Quincy Keele
1 answers
1
Are you using the Email Connector from the marketplace? It has specific instruction on handling images in emails using CID. You can use placeholders for that.