- Newest
- Most votes
- Most comments
I need to send email from my EC2 Instance but External SMTP Connection is locked by AWS.
You can unblock this port using this form. https://aws-portal.amazon.com/gp/aws/html-forms-controller/contactus/ec2-email-limit-rdns-request
The error message you're receiving indicates that the email addresses you're trying to send to are not verified. In AWS SES, there are two types of environments: Sandbox and Production.
-
Sandbox Environment: When your SES account is in the sandbox, you can only send emails to verified email addresses or domains. This is likely the reason you're encountering the error.
-
Production Environment: To send emails to any address, you need to move your SES account out of the sandbox and into production. This requires submitting a request to AWS to increase your sending limits and remove the sandbox restrictions.
Since you mentioned that you can't know all destinations in advance, you'll need to move your SES account to the production environment. You can do this by following these steps:
- Sign in to the AWS Management Console and open the Amazon SES console.
- In the navigation pane, under Account Dashboard, choose Sending Statistics.
- Choose Edit your account details.
- Under Request production access, choose Request a Sending Limit Increase.
- Fill out the form, providing details about your use case, and submit the request.
Once AWS approves your request, you'll be able to send emails to any address without needing to verify each one.
Relevant content
- asked 3 years ago
- asked 2 years ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
I don't know but AWS has rejected my SMTP unlock request