# How to use Amazon SES for sending emails to users?

**URL:** https://meta.discourse.org/t/how-to-use-amazon-ses-for-sending-emails-to-users/41922
**Category:** Support
**Created:** [2. April 2016 um 10:33 UTC](https://meta.discourse.org/t/how-to-use-amazon-ses-for-sending-emails-to-users/41922 "2016-04-02T10:33:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MZainDamlag](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mzaindamlag/32/50721_2.png) [@MZainDamlag](https://meta.discourse.org/u/MZainDamlag)
#### Post date: [2. April 2016 um 10:33 UTC](https://meta.discourse.org/t/how-to-use-amazon-ses-for-sending-emails-to-users/41922/1 "2016-04-02T10:33:25Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Caswal\_Parker](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@Caswal\_Parker](https://meta.discourse.org/u/Caswal_Parker)
#### Post date: [2. April 2016 um 10:38 UTC](https://meta.discourse.org/t/how-to-use-amazon-ses-for-sending-emails-to-users/41922/2 "2016-04-02T10:38:34Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2. Januar 2019 um 15:52 UTC](https://meta.discourse.org/t/how-to-use-amazon-ses-for-sending-emails-to-users/41922/3 "2019-01-02T15:52:55Z")

</div>



---

<div class="post-metadata">

### Author: ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### Post date: [16. Juni 2020 um 01:39 UTC](https://meta.discourse.org/t/how-to-use-amazon-ses-for-sending-emails-to-users/41922/4 "2020-06-16T01:39:26Z")

</div>

Für alle, die danach suchen: Wenn Sie Amazon SNS zur Nachverfolgung von Amazon SES-E-Mails verwenden, können Sie einen [benutzerdefinierten E-Mail-Header](https://meta.discourse.org/t/customs-email-headers-and-or-subjects-tags/16873/3?u=j127) hinzufügen, um [die Konfigurationsgruppe](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-configuration-sets-in-email.html) anzugeben, die das SNS-Thema auslöst:

```plaintext
X-SES-CONFIGURATION-SET: ConfigSetName

```

`ConfigSetName` ist der Name der Konfigurationsgruppe.

Bei mir funktioniert das. Ich plane, dass SNS alle SES-Logs aus verschiedenen Bereichen unserer Sites an einem Ort sammelt.

---

<div class="post-metadata">

### Author: ![llc1990](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/llc1990/32/184360_2.png) [@llc1990](https://meta.discourse.org/u/llc1990)
#### Post date: [18. August 2020 um 08:15 UTC](https://meta.discourse.org/t/how-to-use-amazon-ses-for-sending-emails-to-users/41922/5 "2020-08-18T08:15:47Z")

</div>

Für diejenigen, die sich fragen, wie man den benutzerdefinierten E-Mail-Header setzt, hier ist die Anleitung.

1. Gehe zu deinem `Settings Panel >> Email` oder verwende den folgenden Link  
`https://forums.example.com/admin/site_settings/category/email`. Ersetze den Domainnamen durch deine eigene.

2. Suche nach `email custom headers` und setze deine eigenen. Das ist alles!
