I'm trying to send an email out, however, i was not able to attach the signautre base64 into the email as an images
When uploading the images as attachment, cid was not used to render the email with attachment
I'm trying to send an email out, however, i was not able to attach the signautre base64 into the email as an images
When uploading the images as attachment, cid was not used to render the email with attachment
How to Embed Images in Your Emails (CID, Inline & More) | SendGrid.
Anyway we can label cid of the attachment so html body can render the 'attached' image?
Hey @zgfeedback!
It looks as though it's possible to set the CID for a file with SendGrid at the moment, but embedding images may not be supported. I've filed a request with the dev team for more support and can let you know here if it's added!
If the cid isnβt properly set when you upload the image as an attachment, the email client wonβt know how to embed it in the body.
In Retool, depending on how youβre sending the email, you might need to manually set the Content-ID header and reference it correctly in your HTML. Some integrations (like SMTP services) handle this more smoothly, while others need a bit of extra setup to link attachments properly to the HTML body.
It seems that the cid is hardcoded as the filename, so setting cid: as the name set in the attachment within the HTML seems to work