Amazon SES API - How to setup?

I’m trying to use my discourse instance with the Amazon SES API, config as follows:

 DISCOURSE_SMTP_ADDRESS: email.eu-west-1.amazonaws.com
  DISCOURSE_SMTP_PORT: 443
  DISCOURSE_SMTP_USER_NAME: AKI_Access_key_ID
  DISCOURSE_SMTP_PASSWORD: apikey
  DISCOURSE_SMTP_ENABLE_START_TLS: true           # (optional, default true)

No error in /var/discourse/shared/standalone/log/rails/production.log regarding aws.
No email delivered, and no Identity and Access Management (IAM) Amazon SES Last activity.

Basically it isn’t reaching AWS API, really don’t know what to do, any suggestions?

2 Likes

You’re using the wrong port. Try 25, 587, or 2587
Ref: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-connect.html

1 Like

I’m trying to use the Amazon SES API not the SMTP.

1 Like

Sorry, can’t use API as SMTP for discourse.

2 Likes

Yeah, I just realized that. That’s too bad because I can’t seem to manage setting up the bounce emails to appear in the Bounced section of Discourse, which causes emails to be sent to nonexistent emails.

1 Like

Here’s the solution You’ll need:

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.