Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I send an Email through Amazon SNS without confirming the Email address?

Tags:

amazon-sns

We are building up a Micro Service where the users will be able to self-register through their email addresses. There will be a verification email sent by this Micro Service through which the user can verify the registered email address.

We plan to use Amazon SNS to send this email. However one issue we see is that right when we create a SNS subscription(email) to the SNS topic, Amazon itself sends an email(Subject: AWS Notification - Subscription Confirmation) with content similar to below:

You have chosen to subscribe to the topic: 
--------------------
To confirm this subscription, click or visit the link below (If this was in error no action is necessary): 

We don't want this email to be sent by Amazon since we are anyway going to send a mail to that email address to verify that address.

Can anyone suggest how we can avoid this AWS Notification - Subscription Confirmation Email?

Thanks, Ranjith

like image 251
Ranjith Chungath Avatar asked Apr 13 '17 19:04

Ranjith Chungath


People also ask

Can SNS be used to send email?

SNS stands for Simple Notification Service and, unsurprisingly, that's exactly what it does. Amazon SNS is about sending basic notifications that can take the form of mobile push notifications, SMS's, and even emails.

Which service would I used to send a notification as email in AWS?

Amazon SES can send you email when you receive bounces and complaints by using a process called email feedback forwarding. In order to send email using Amazon SES, you must configure it to send bounce and complaint notifications by using one of the following methods: By enabling email feedback forwarding.


Video Answer


1 Answers

You are describing a use case for which SNS email is not appropriate.

Additonally, SNS supports only plaintext emails (no HTML) and the sender is always [email protected].

This service is primarily intended for sending technical information to insiders -- such as network/system alerts and job/event-related notifications.

The appropriate tool for emails sent to guests of your web site or app is Amazon Simple Email Service (SES).

like image 130
Michael - sqlbot Avatar answered Nov 13 '22 00:11

Michael - sqlbot