- Newest
- Most votes
- Most comments
Moreno,
It looks like there's a mismatch in the SMTP server settings in your configuration. The error suggests that your application is trying to connect to email-smtp.eu-south-1.amazonaws.com, which is for the Europe (Milan) region, but you mentioned that your SES service is configured for the Europe (Stockholm) region with the endpoint email-smtp.eu-north-1.amazonaws.com.
Here's what you can do to resolve the issue:
- Double-check your config.json file to ensure that the SMTP endpoint is correctly set to email-smtp.eu-north-1.amazonaws.com.
- Verify that there aren't any environment variables or other configuration files that might be overriding the SMTP settings when your application runs.
- If you are using version control, make sure the correct config file is checked in and that your deployment process is pulling the correct version.
- Ensure that the SMTP credentials (username and password) are for the eu-north-1 region and not mistakenly for eu-south-1.
If you still can't find where the incorrect endpoint is coming from, you might want to search through your entire codebase for the string email-smtp.eu-south-1.amazonaws.com to find where it's being set or used. You could also consider adding logging to your application to print out the configuration upon startup, which can help you identify where the incorrect setting is coming from.
Hope this helps!
Relevant content
- asked 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago