How to use Amazon SES for sending emails to users?

Hello All I want to query how to configure and integrate Amazon SES with discourse to use it for sending emails from an verified Amazon SES email.

This is pretty easy to setup, in your app.yml:

  ## TODO: The mailserver this Discourse instance will use
  DISCOURSE_SMTP_ADDRESS: email-smtp.us-east-1.amazonaws.com 
  DISCOURSE_SMTP_PORT: 587                        
  DISCOURSE_SMTP_USER_NAME: CREDIENTIALS
  DISCOURSE_SMTP_PASSWORD: CREDIENTIALSPW
  DISCOURSE_SMTP_ENABLE_START_TLS: true

Worked straight out of the box for me.

Edit:
To apply these changes you will need to run: ./launcher rebuild app

検索されている他の皆様へ:Amazon SNS を使用して Amazon SES のメールを追跡する場合、カスタムメールヘッダー を追加して、SNS トピックをトリガーする設定セットを指定できます。

X-SES-CONFIGURATION-SET: ConfigSetName

ConfigSetName は設定セットの名前です。

これは私の環境で動作しています。SNS を使って、サイト内のさまざまな場所から生成される SES ログをすべて 1 か所に集約する予定です。

カスタムメールヘッダーの設定方法が気になる方のために、手順を説明します。

  1. [設定パネル >> メール] に移動するか、以下のリンクを使用してください。
    https://forums.example.com/admin/site_settings/category/email。ドメイン名はご自身のものに置き換えてください。

  2. email custom headers を検索し、ご自身で設定してください。これで完了です!