{"ref":"content:sending-emails-from-sap-cap-applications-with-any-smtp-provider","page":"/content/sending-emails-from-sap-cap-applications-with-any-smtp-provider","json":"/content/sending-emails-from-sap-cap-applications-with-any-smtp-provider.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"sending-emails-from-sap-cap-applications-with-any-smtp-provider","title":"Sending Emails from SAP CAP Applications with Any SMTP Provider","url":"https://community.sap.com/t5/technology-blog-posts-by-members/sending-emails-from-sap-cap-applications-with-any-smtp-provider/ba-p/14179608","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:destinations","applies_to":{"ecosystems":["btp","cap"]}},{"ref":"capability:notifications","applies_to":{"ecosystems":["cap"]}}],"summary":"Walks through sending mail from a CAP application with no dedicated mail service: create an SMTP destination for a Gmail account in the SAP BTP cockpit, bind it to the Cloud Foundry app, and call the sap-cf-mailer npm package from a CAP service handler naming that destination. The [SAP Destination service](artifact:btp-destination) holds the SMTP host, port and app password so the handler code names only the destination, and the same handler sends plain text, an HTML body, or a message with a base64-encoded attachment.","short":"Email from CAP via an SMTP destination and sap-cf-mailer","author":"MaheshSirsat1708","published":"2025-08-19","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"btp-security-tag"},{"source":"source:sap-community","channel":"cloud-foundry-tag"}],"first_seen":"2026-09-26"},"drafted_with_ai":true,"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:destinations (cap, btp); capability:notifications (cap)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"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":"fair","evidence":"published 15 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-08-19"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":8667,"unit":"views"},{"value":4,"unit":"comments"},{"value":6,"unit":"likes"}]},"signals":{"views":8667,"likes":6,"comments":4,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}