To display inline images in sent emails.
- Upload the file using the files endpoint. Make a note of the
file_id
. - You must add the
<img/>
tag with thefile_id
as the image srccid:file_id
. See the example below.
"body":"<div><p>Before image</p><img src='cid:37rk46hv5894c14jnr3cxin3x'><p>After image</p></div>","file_ids":["37rk46hv5894c14jnr3cxin3x"]
Please note: Using Base64 images/files within the send endpoint is not supported; Files must be uploaded separately using the files endpoint.
Resources
Updated
Comments
0 comments
Please sign in to leave a comment.