{"ref":"content:sending-branded-html-emails-in-sap-s-4hana-using-email-templates-cl-bcs-and-inli","page":"/content/sending-branded-html-emails-in-sap-s-4hana-using-email-templates-cl-bcs-and-inli","json":"/content/sending-branded-html-emails-in-sap-s-4hana-using-email-templates-cl-bcs-and-inli.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"sending-branded-html-emails-in-sap-s-4hana-using-email-templates-cl-bcs-and-inli","title":"Sending Branded HTML Emails in SAP S/4HANA Using Email Templates, CL_BCS, and Inline Images","url":"https://community.sap.com/t5/abap-blog-posts/sending-branded-html-emails-in-sap-s-4hana-using-email-templates-cl-bcs-and/ba-p/14495732","content_type":"blog","published_on":"source:sap-community","explains":["capability:notifications"],"summary":"Builds a branded HTML notification email in ABAP: an SAP S/4HANA Email Template bound to a CDS view supplies the dynamic flight fields, and an ABAP report renders and sends it through CL_SMTG_EMAIL_API and CL_BCS. Tries inlining the logo as a Base64 data URI first, finds Gmail strips it inconsistently, then rebuilds the message as a multipart/related document with the image as a separate MIME part matched to the HTML by Content ID. Lands exactly on the [notifications](capability:notifications) boundary on ABAP: Business Communication Services sends a document the application has already assembled, and an HTML body filled from a template with its inline image is the part written on top.","author":"douglasFarcic","published":"2026-10-06","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"abap-development-tag"}],"first_seen":"2026-11-04"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"good","evidence":"published 1 month ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2026-10-06"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":null,"edges":{"authors":[]}}