- Newest
- Most votes
- Most comments
Hello.
If you are using an SMTP endpoint with Amazon SES, you can create a new SMTP user using the steps described in the following documentation.
https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html#smtp-credentials-console
Obtaining SMTP credentials from an existing IAM user requires the steps described in the following documentation:
https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html#smtp-credentials-convert
Thanks I created new user and new credentials, configured the email sending settings but still get the same issue.
Swift_TransportException: Email to xx@xxxxorg.uk from zz@zzzz.org.uk failed: Failed to authenticate on SMTP server with username "AKIA4GYBFLFBCKTOU4BM" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 Authentication Credentials Invalid "
Hello, you'll need to create or retrieve new SMTP credentials for Amazon SES, especially if the old ones are no longer valid. Here’s a detailed guide on how to do this:
Steps to Create New SMTP Credentials
1.Sign in to the AWS Management Console and open the Amazon SES console at Amazon SES Console.
2.In the navigation pane, choose SMTP Settings.
3.Choose Create My SMTP Credentials.
4.For Create User for SMTP, enter a username, and then choose Create.
5.Download the credentials, which include an SMTP username and password. Store these credentials securely as they will not be available again.
Steps to Retrieve SMTP Credentials from an Existing IAM User
1.Sign in to the AWS Management Console and open the IAM console at IAM Console.
2.In the navigation pane, choose Users, and then choose the IAM user you want to retrieve the credentials for.
3.Choose the Security credentials tab.
4.Under SMTP credentials, if credentials are already created, you will see the SMTP password. If not, create new credentials using the earlier steps.
Update Your XenForo Configuration
Hostname: email-smtp.eu-west-2.amazonaws.com
Port: 587
TLS/STARTTLS: Enable
Important Links Creating SMTP credentials https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html#smtp-credentials-console
Converting IAM credentials to SMTP credentials https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html#smtp-credentials-convert
Using the new credentials should resolve the authentication issue. If you continue to experience issues, ensure that your IAM policies allow access to Amazon SES and that there are no regional restrictions.
I think I have found the issue. The new credentials were created in the old region. It is not very obvious as the region shown in the top right seems to sometimes change. Once in the credentials page there is no region shown, it just says global and there seems to be nothing anywhere obvious letting you know what region a specific credential is for. I know it mentions that right at the first set of instructions about credentials but it would be useful when changing regions to be made aware of that also.
Relevant content
- asked 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Please mask the SMTP authentication information listed in the error message. Did you accurately register the SMTP authentication information associated with the SMTP username displayed in the error message?