Send Email From Amazon SES in ASP.NET MVC App

gandil picture gandil · Jun 17, 2011 · Viewed 7.5k times · Source

I host my web app which is written in .net mvc2 on amazon ec2. currrently use gmail smtp to send email. beacuse of google for startup email quota cant send more than 500 email a day. So decide to move amazon ses. How can use amazon ses with asp.net mvc2? How about configuration etc? Is email will send via gmail? because our email provider is gmail. etc.

Answer

gandil picture gandil · Jul 7, 2011

Send Email via Amazon is a right decision. Because when you move to amazon you will immediately get 2000 email free per day which is greater than googla apps 500 emails quota a day.

Step by Step:

  1. Go to http://aws.amazon.com/ses and click Sign Up for Amazon SES.
  2. To get your AWS access identifiers
  3. verify your email address - email which you will send email via. You need perl packages installled on your computer to test email features.
  4. include:amazonses.com to your dns record.

Step by step documentation. http://docs.aws.amazon.com/ses/latest/DeveloperGuide/getting-started.html

There is a Amazon SES (Simple Email Service) C# Wrapper on codeplex you can use this wrapper to send emails.

Amazon SES C# Wrapper