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:
- Log into AWS management console using web browser
- Go to SES service
- Click on "Verify a new domain". Enter domain name. Enable option for generating DKIM key.
- 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.
- 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
- Select domain and click view details. Verify that required validation / DKIM etc. records are as per shown details
- From the left menu go to "SMTP Settings". There is option to create SMTP user by clicking "Create My SMTP credentials"
- On the IAM page choose the IAM username.
- 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
- 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
- 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