Use AWS SES to send emails from domain

From Notes_Wiki

Home > Amazon web services > Use AWS SES to send emails from domain

To use AWS SES to send emails from domain use following steps:

  1. Log into AWS management console using web browser
  2. Go to SES service
  3. Click on "Verify a new domain". Enter domain name. Enable option for generating DKIM key.
  4. Add the DNS entries displayed by following popup in public DNS.
    Add incoming MX record only if you want emails to go to SES instead of going to current email server.
  5. Wait for domain verification status to become 'Verified'. Typically takes only a few minutes after DNS entry _amazonses TXT entry is added as per popup.
    No need to wait for DKIM verification
  6. Select domain and click view details. Verify that required validation / DKIM etc. records are as per shown details
  7. From the left menu go to "SMTP Settings". There is option to create SMTP user by clicking "Create My SMTP credentials"
    1. On the IAM page choose the IAM username.
    2. After IAM username is confirmed the page will show SMTP username and password for corresponding IAM username. Please copy / download these and keep them for use with appropriate application
  8. There is default sandbox limit of 200 emails per day. To relax this go to "Sending statistics" on left menu. Click on "Edit your account details". Make a request for production access with various details (Site URL, use-case description, email address, etc.)
    Without moving out of sandbox the emails can be sent from and to verified addresses only. Thus both from and to should be verified before removing the account from sandbox
  9. Create a test EC2 instance and refer CentOS 8.x postfix send email through relay or smarthost with smtp authentication to try to send email via SES using the obtained credentials.
    Note that if you are still in sendbox both from and to address should be verified.




Home > Amazon web services > Use AWS SES to send emails from domain