our application SLA is to send 25000 emails per hour. We use AWS SES, So use success simulate email provided by AWS SES as in here instead of sending actual emails
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mailbox-simulator.html
Do we have any best way to do load test other than this
Related
Currently our server connects to the Amazon SES SMTP interface to send out email reminders to clients, emails that are undelivered and bounce back are forwarded onwards using the SNS service.
All this works perfectly.
There has never been the capability to store the email reminders that get sent out as the server simply fires and forgets.
I would like to add this capability using the AWS architecture to capture and store the emails.
I think this possible using some combination of SES and SQS and S3 but has anyone got any suggestions on how to architect this requirement within AWS to achieve the goal? I am unsure of the best approach and I'm concerned that I might be missing some component of AWS that could easily achieve this.
I found the solution hidden in the identity management section of AWS, it is here that you set up the process of forwarding email notifications.
Location of notifications
Step 1 Click on the domain to edit the notifications and create a new SNS (Push Notification Serviceā) topic for each type of notification (Bounce, Complaint or Delivery)
Step 2 Create a new Queue (SQS)
Step 3 Go to SNS and create a new subscription to link the queue and the notification together
Step 4 Use Lamdba to process your queue and direct the output to wherever you wish
Note If you are sending large quantities of email then this solution may cost considerably more and you should research different solutions including using Cloudwatch and Kinesis
I want to do a Task Scheduler that sends notifications via email at a specific time, for example: every day at 12:00.
I found some solutions that requires code to achieve it, such as: Lambda, Poweshell, cron jobs, etc. But all those solutions are too complicated.
Is there any other way achieving this?
I found SES, SNS, SQS but couldn't find how to set a specific time to send the notification/emails.
Can you help me find the simplest tool for that (prefer without any code needed)?
Thanks in advance.
There's probably 2 questions in your message but honestly lambda will not be too complicated to setup.
1) Send email from Amazon platform:
you mention SNS, SES and SQS so lets look:
SNS : Amazon Simple Notification Service
Send mobile notifications, emails and/or SMS messages. In your case (email) as its notification based you need the subscriber to specify email as the protocol of receiving notification. Probably not what you're looking for
SES : Amazon Simple Email Service
With Amazon SES, you can send transactional email, marketing messages, or any other type of high-quality content to your customers. Probably what you're looking for
SQS : Amazon Simple Queue Service
Store data for future processing in a queue. The lingo for this is storing "messages" but it doesn't have anything to do with email or SMS. SQS doesn't have any logic, it's just a place to put things and take things out. (from https://www.expeditedssl.com/aws-in-plain-english).
Look at his Q&A with the question and answer you'll have a fully setup lambda to send email from AWS lambda using SES
2) Schedule the lambda to run at specific time
Back in october 2015 Amazon introduced Scheduled Functions (Cron) so
You can now invoke a Lambda function on a regular, scheduled basis.
You can specify a fixed rate (number of minutes, hours, or days
between invocations) or you can specify a Cron-like expression:
I am trying since a last few weeks to setup an email, for example,info#domainname.com, in aws Amazon SES
I tried some of the links:
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-email.html
I even went through a similar question marked closed on Stack Overflow:
How to set up Amazon SES to send and receive emails
But couldn't finish the setup correctly. Would anyone please help me to finish this task?
For your reference, I am using Free tier AWS account and have the domain attached to my Godaddy account.
When you say you want to send and receive emails, what do you mean ?
Generally SES is used to send emails from an app that you run and you want this service to handle all the posting for you, from doc - why use Amazon SES
Building a large-scale email solution is often a complex and costly
challenge for a business. You must deal with infrastructure challenges
such as email server management, network configuration, and IP address
reputation. Additionally, many third-party email solutions require
contract and price negotiations, as well as significant up-front
costs. Amazon SES eliminates these challenges and enables you to
benefit from the years of experience and sophisticated email
infrastructure Amazon.com has built to serve its own large-scale
customer base.
The receiving part as noted in doc
When you use Amazon SES to receive messages on behalf of your verified
domains, you can configure Amazon SES to deliver your messages to an
Amazon S3 bucket, call your custom code via an AWS Lambda function, or
publish notifications to Amazon SNS. You can also configure Amazon SES
to drop or bounce messages you do not want to receive.
so on receipt, SES will trigger rules that you have defined.
From your question, it sounds like you want to use a basic email client to do sending/receiving of emails, in this case Amazon provides another service called Amazon Workmail which you can compare with google apps.
If you're really looking into sending email from an app using SES, you can review this link which explains how to do it with GoDaddy
We have a problem with sending transactional emails out of our web app. When number of sent emails was increasing some of the emails were delivered with delay - even up to 300min.
Using Amazon AWS and o365 smpt server.
Amazon AWS has email sending limitations on your account using default port (if you are using external email solution)?
It's resulting like some emails are delivered with delay (up to 300 min in our case).
To save your time please take a look this thread https://forums.aws.amazon.com/thread.jspa?threadID=37650
Solution: https://portal.aws.amazon.com/gp/aws/html-forms-controller/contactus/ec2-email-limit-rdns-request
Hope that this saves your time too.
I'm trying to code a mail sender service. Previously I built a simple desktop application which uses my shared hosting mail server to send html mails. But now it's not enough and I plan switching to Gmail or Amazon SNS.
For Gmail I have to use min 15 different accounts to be able to send up to 1500 emails. Also sometimes gmail blocks the accounts and I have to login and change the passwords.
I've just signed up for Amazon SNS but it does not looks to what I need. You first have to subscribe users then send emails. Also emails are sent from no-reply#sns.amazonaws.com addres. Is this the all service or I can configure it as I wish?
I also read some suggestions to lookup the MX records for the destination mail servers How to send 1000+ emails per day using an ASP.NET Web site
I want a minimum cost solution. So which is best and is there a better solution?
We use Mailjet for 3 sites now. Initially we used the free plan (6000 / month) to test the set-up and reporting. Now the 3 sites are run on it. Very satisfied - especially since they offer dedicated IP monitoring. According to us, it's rather easy to install. SMTP very easy and one of the sites integrates with the API. I'd recommend
There are a multitude of services available for you that will allow you to send 1500+ emails per day and will get the headache of email deliverability off your plate.
PostageApp (Ours!)
SendGrid
Postmark App
Deliver
Mailjet
Take a look and see which fit your needs and have the implementation method that you are looking for. They each have a free service, so it's definitely easy to try.
(Full Disclosure: I am the Product Manager of PostageApp. Let me know if you have any questions!)
A relatively new option for transaction emails that seems pretty good from Mailchimp:
Mandrill
Looks like it has decent integration with their main service as well.
You can utilize some premium services to send 1000 emails here, daily for free
Remember, you should not spam in the services listed, just you create multiple lists in all accounts & send emails daily.