How to send HTML mails using Amazon SNS

0 votes

How to send HTML emails using Amazon SNS? What alternative can I use if I can not use Amazon SNS?

Is it possible to use SES? 

Jan 8, 2019 in AWS by datageek
• 3,090 points
17,938 views

1 answer to this question.

0 votes

It's not possible to send HTML emails using just the Amazon SNS. Instead, you can use Amazon SES to send the emails and SNS to trigger the sending process. 

So, if you have an endpoint which takes care of sending email through Amazon SNS. You can create a topic, subscribe to the endpoint to receive notifications. This notification will trigger the mail.

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

answered Jan 8, 2019 by Archana
• 5,640 points

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

Can you please elaborate a little more on how to do this? I'm stuck at this for days now. Please help.

Hi,

Say you have an endpoint /api/abc. Now you need to set up an Amazon SNS topic that subscribes to the endpoint /api/abc to receive notifications and when something happens, the notification will trigger the email. You can setup endpoint /api/abc to take parameters from the JSON data stored in the notification and send the email using that information. It is like when we search something in google it will connect to the API and pass the value in the q variable.

Related Questions In AWS

+2 votes
3 answers

How to send email to non-verified email address using AWS SES

While running in sandbox mode you can ...READ MORE

answered Jul 26, 2018 in AWS by Priyaj
• 58,090 points
8,445 views
0 votes
1 answer

How to synchronize sessions using Amazon Web Services?

I think what you are looking for ...READ MORE

answered Aug 18, 2018 in AWS by Archana
• 4,170 points
382 views
+3 votes
6 answers

How to move files from amazon ec2 to s3 bucket using command line

Hey, 3 ways you can do this: To ...READ MORE

answered Oct 9, 2018 in AWS by Omkar
• 69,210 points
19,219 views
0 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,436 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,460 views
+1 vote
2 answers

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,640 points
53,527 views
0 votes
1 answer

How to monitor & track a chatbot on Amazon Lex?

You can track metrics for your bot ...READ MORE

answered Nov 8, 2018 in AWS by Archana
• 5,640 points
1,065 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP