How to send HTML mails using Amazon SNS?

时光总嘲笑我的痴心妄想 提交于 2019-12-05 02:22:41

You can use Amazon SES to send the emails and SNS to trigger the sending process.

Suppose you have an app http://myapp.com where the endpoint /api/send-email takes care of sending HTML email trough Amazon SES.

You set up an Amazon SNS topic, subscribe the endpoint /api/send-email to receive notifications and when something happens, the notification will trigger the email.

You can setup /api/send-email to take parameters from the JSON data stored in the notification and send the email using that information.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!