スキップしてコンテンツを表示

Amazon SES bug or problem

0

i have one user gestordebens

and key AKIAxxz this working smtp in php

now i create other user maikonemails

and key AKIAyyz

this not working in smtp (phpmailer) is EXACLY same permission, all...

show this error

message: SERVER -> CLIENT: 535 Authentication Credentials Invalid Debug level 1; message: SMTP ERROR: Password command failed: 535 Authentication Credentials Invalid Debug level 4; message: SMTP Error: Could not authenticate.

but how is possible one old user working and one new user not working ?

i no have more idea how make

I use details the old user (user one) gestordebens WORKING phpmailer and send email

I use details the new user (user two) maikonemails show error phpmailer Credentials Invalid

and i take key, i try create new user and ALL new users i have same error in phpmailer.

i use EXACLY same permissions the first user gestordebens

my acct not is Sandbox mode

2回答
0

With SES you dont use the IAM access keys as the SMTP Username and Password. Even though when you create SES Credentials, it creates IAM Access keys and returns the already converted SES Credentials.

When creating SMTP Credentials in the SES console, ensure you are in the correct region.

All information can be located here https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html

Obtaining SES SMTP credentials by converting existing AWS credentials https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html#smtp-credentials-convert

Although you can generate SES SMTP credentials for any IAM user, AWS recommend that you create a separate IAM user when you generate your SMTP credentials.

エキスパート

回答済み 2年前

エキスパート

レビュー済み 2年前

  • is this my problem... i use IAM key and not SES credentials... this solve my problem. tks ALL for help me

  • Would be helpful if you could re-accept the answer. Thanks

  • Hey Thiago, id appreciate it if you could accept this answer as the correct one. Gary

-3
承認された回答

If you created 2 SES Users for sending email and getting "Credentials Invalid" error, you don't need to created accesskey and secretkey for another user you can use same accesskey and secretkey.

if the issue is still you may need to give AmazonSESFullAccess to SES Users whose credentials are not valid. Enter image description here

回答済み 2年前

  • This is not correct.

    You dont use IAM keys to authenticate with SES over SMTP and also, you dont assign ADMIN access to ses. The only access needed is

    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Action": "ses:SendRawEmail",
                "Resource": "*"
            }
        ]
    }
    

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ