How to send HTML mails using Amazon SNS? or do I need to use SES for that? I went through the documentation but it seems there is no way to send HTML mails using Amazon SNS.
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.
来源:https://stackoverflow.com/questions/19201837/how-to-send-html-mails-using-amazon-sns