Adding a new Amazon SES delivery server (Web API)


Adding a new Amazon SES delivery server (Web API) - Only for Basic account or Diamond account
This article is belong to our customer with basic plan, because you need to get at least a delivery server to do
This article will drive you through the steps on creating and validating an Amazon SES delivery server.
First of all you have to create an account here http://console.aws.amazon.com.
Once you are done and you are logged in, you should search for the Simple Email Service 

 





The Simple Email Service landing page should look like this:



Then, you need to confirm your sender identity.
There are 2 ways: using domain or email address.
Raicampaigns uses email addresses for sender identity, so you will need to validate an email address not a domain:



The process of Verify a New Email Address is pretty straight forward, you add your new email address and then you have to verify it. You will receive an email containing a verification link in the inbox of the email you wish to verify.

Next step would be to create a IAM user and give it PowerUser permissions so it will be able to send emails using SES.



Click on Add user button.



Select a user name and check the box for Programmatic access. 



Next step will be to set the user permissions. You can assign the user to a group that will have the necessary permissions or you can directly assign the policies to the user. To be sure that you will have all the necessary permissions to send emails we will use PowerUserAccess policy.



After you create the user you will have to save the Access Key ID and the Secret Access Key.  You will need these when you will setup the delivery server in Raicampaigns


The next step will be to go to your SES home page in the dashboard and to access SMTP Settings. You will need to note down the Server Name since you will need it inside Raicampaigns setup.



 

We are done with the Amazon SES setup. After completing these steps we will need the following info for the Raicampaigns setup part:

  • Access Key ID
  • Secret Access
  • Server Name
  • Confirmed SES email address

Inside you Raicampaigns app, navigate to Servers > Delivery Servers page, click create new one and choose the Amazon SES Web Api:



Here you will need to fill in the info that you noted from the Amazon SES setup steps:



 

Save the form and then you will need to verify your server. In the verification step you should enter an email that you have confirmed on amazon SES to Validate field then click to Validate this server and you will receive an email containing the verification link.

That’s it! You are ready to send emails.


With API web server, we will tracking bounce and complaints email by webhook. you can do it as below
First, go to the above right conner your Raicampaigns server and click like this photo


And copy your url webhook like this




Then go to your amazon AWS - SNS - Creat your SNS topic standar and creat your subscriptions like this



4. Go back your SES find to Configuration Sets and creat it




Add your destination SNS topic and check to bounce and complaint



Add Notifications from SNS topic to your email confirmed on amazon ses





Or this video for you


Done! Good luck

NOTES:
– In case you have a firewall on your VPS, remember to add exceptions in its rules for the AWS IP addresses in order to allow Amazon SES to post bounces to Raicampaigns.
– If for any reason you need to edit the SNS subscriptions, make sure that the Raw Message Delivery is Disabled for the subscription.

That’s it! You are ready to send emails.


Categories: Settings