AWS SES Setup Correctly - Email Working but can't invite staff

hello,

I setup AWS in the config according to the tutorial.

"mail": {
    "from": "'Primates' <stan@primates.dev>",
    "transport": "SMTP",
    "options": {
      "host": "email-smtp.eu-west-1.amazonaws.com",
      "port": 465,
      "service": "SES",
      "auth": {
        "user": "XxXXXXXX",
        "pass": "XXXXXX"
      }
    }
  },

The Test email configuration in lab works
But when I want to invite new staff it gives me:
Error sending email! Error sending email: Failed to send email. Reason: Message delivery failed: 554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: test@test.com. Please check your email settings and resend the invitation.

It looks like it tries to use test@test.com as from.

Hey @StanGirard, the error above makes us think that you’ve not completed your Amazon SES setup. Would you be able to check?

Hello,

The setup was finished and working with nodemailer. The issue seems like it is trying to send as the recipient.

:wave:t3: To receive an email through Amazon SES, the email address must be verified. https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses-procedure.html

Thanks for your answer.

As mentioned above the email address was verified in the AWS SES.
To explain further. I tried to send an email to test@test.com but the error looks like the email tried to be sent from test@test.com and not my email address.

Here is a screenshot so I don’t have this answer again :rofl:

Also as mentioned above. The test email worked.