At some point AWS extended their limit on outbound port 25 to include SES service too.
Update your config to use your SES provided SMTP settings on port 587 instead of 25.
If you truly require outbound port 25, try this form:
Update your config to use your SES provided SMTP settings on port 587 instead of 25.
If you truly require outbound port 25, try this form:
Remove port 25 restriction from your EC2 instance
I can't send email over port 25 from my Amazon Elastic Compute Cloud (Amazon EC2) instance or AWS Lambda function.
aws.amazon.com