N
Novuβ€’4d ago
rbbr31

πŸ“§ Question about Inline Image Support

Hi Novu team! πŸ‘‹ Does Novu support inline images in emails? By inline images, I mean images that are embedded directly in the email body (like <img src="cid:image1">) rather than as downloadable attachments. Questions: Does Novu have native support for inline images? If not natively, can this be achieved via provider overrides (specifically for AWS SES)? Any documentation or examples for implementing inline images? Currently our images show up as downloadable attachments, but we need them embedded in the email content for better user experience. Thanks! πŸ™
7 Replies
Pawan Jain
Pawan Jainβ€’3d ago
Hi! The attachments array: https://docs.novu.co/platform/integrations/email#sending-email-attachments

Also provides the: cid and disposition params, for cid, use the relevant id, and disposition: inline Let me know if that helps πŸ™
rbbr31
rbbr31OPβ€’3d ago
Hi Dima, I tried that: "payload": { "subject": "new subject", "emailBody": "<p>test</p><img src=\"cid:imageone\" alt=\"print.png\"></p><p></p>", "attachments": [ { "file": "<base64_file>", "name": "print.png", "mime": "image/png", "cid": "imageone", "disposition": "inline" } ] }, but the image is still broken
No description
No description
rbbr31
rbbr31OPβ€’3d ago
Oh btw, I'm using the API not the SDK
Pawan Jain
Pawan Jainβ€’10h ago
@rbbr31 Could you please share the transactionId from the activity feed?
rbbr31
rbbr31OPβ€’10h ago
Sure it's txn_68dfbfbc093rmm7f0cpe
Pawan Jain
Pawan Jainβ€’10h ago
@rbbr31 Thanks, I see you are using custom smtp provider integrations. Sharing the issue with team
rbbr31
rbbr31OPβ€’10h ago
Thanks!

Did you find this page helpful?