# Can't send test email with Amazon SES

**URL:** https://meta.discourse.org/t/cant-send-test-email-with-amazon-ses/31370
**Category:** Support
**Created:** [July 23, 2015, 11:52pm UTC](https://meta.discourse.org/t/cant-send-test-email-with-amazon-ses/31370 "2015-07-23T23:52:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Blackening999](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackening999/32/116457_2.png) [@Blackening999](https://meta.discourse.org/u/Blackening999)
#### Post date: [July 22, 2015, 4:42pm UTC](https://meta.discourse.org/t/cant-send-test-email-with-amazon-ses/31370/1 "2015-07-22T16:42:50Z")

</div>

Hello!

I’ve got some issues on receiving the email. Checked all instructions but it isn’t work.  
I’m using next configs:

```
config.action_mailer.smtp_settings = {
   address: 'email-smtp.us-east-1.amazonaws.com',
   authentication: :login,
   password: 'PWD',
   user_name: 'USRNAME',
   enable_starttls_auto: true,
   port: 587
 }

```

Got this error when trying to test it.  
“There was a problem sending the test email. Please double-check your mail settings, verify that your host is not blocking mail connections, and try again.”

My app.yml discourse’s configs:

![](https://global.discourse-cdn.com/meta/original/3X/8/3/83df7ec25451d79fdd750183e43ecddafb2e8f8d.png)

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [July 23, 2015, 6:44am UTC](https://meta.discourse.org/t/cant-send-test-email-with-amazon-ses/31370/2 "2015-07-23T06:44:14Z")

</div>

Add `DISCOURSE_SMTP_AUTHENTICATION: "login"`

---

<div class="post-metadata">

### Author: ![Blackening999](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackening999/32/116457_2.png) [@Blackening999](https://meta.discourse.org/u/Blackening999)
#### Post date: [July 23, 2015, 9:13am UTC](https://meta.discourse.org/t/cant-send-test-email-with-amazon-ses/31370/3 "2015-07-23T09:13:01Z")

</div>

The same issue.  
I’ve added this row:

```
 DISCOURSE_SMTP_ENABLE_START_TLS: true
 DISCOURSE_SMTP_AUTHENTICATION: "login"

```

and then ran `./launcher rebuild app`

Also, when I’m trying to test it via telnet:

![](https://global.discourse-cdn.com/meta/original/3X/d/6/d6fdf14e2dda29ae657eacb59a4a615488a8d8a2.png)

got this…

---

<div class="post-metadata">

### Author: ![Blackening999](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackening999/32/116457_2.png) [@Blackening999](https://meta.discourse.org/u/Blackening999)
#### Post date: [July 23, 2015, 11:26am UTC](https://meta.discourse.org/t/cant-send-test-email-with-amazon-ses/31370/4 "2015-07-23T11:26:55Z")

</div>

fixed issue.

Thanks for suggestion with SMTP Authentication config option.

I have created user in SES and everything working now

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 24, 2015, 10:48am UTC](https://meta.discourse.org/t/cant-send-test-email-with-amazon-ses/31370/5 "2015-07-24T10:48:21Z")

</div>


