Sent emails do not display inline images

 

To display inline images in sent emails.

  1. Upload the file using the files endpoint. Make a note of the file_id.
  2. You must add the<img/>tag with the file_id as the image src cid: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

API reference - Send endpoint

 

Updated

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.