# There was a problem sending the test email

**URL:** <https://meta.discourse.org/t/there-was-a-problem-sending-the-test-email/91312>\
**Category:** Self-hosting\
**Created:** [July 1, 2018, 5:12pm UTC](https://meta.discourse.org/t/there-was-a-problem-sending-the-test-email/91312 "2018-07-01T17:12:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![JKBaseer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jkbaseer/32/80471_2.png) [@JKBaseer](https://meta.discourse.org/u/JKBaseer)\
**Post date:** [July 1, 2018, 5:12pm UTC](https://meta.discourse.org/t/there-was-a-problem-sending-the-test-email/91312/1 "2018-07-01T17:12:48Z")

</div>

Hey Guys,  
I have tired the related topics before submitting but still could myself.

Background:

- I installed discourse using digitalocean oneclick installer. The website is running under [forum.example.org](http://forum.example.org) without any problem except the test email configuration.

- Used Elasticemail to configure the SMTP under discourse setup.

- When going inside the admin \> Email \> Settings \> Send Test Email, I am getting the below error

> “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.”

**This is how it looks the Send Test Email screen.**

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/4/045abdb9a32cfbc621b30b3a126a1cf04015d5d1.png)

**Possible solutions according to different**  
**1. updating app.yml settings**  
I was confused why the username show as test(Or may this is how it supposed to look) , so by another thread, I was able to go inside app.yml and updated the username based on elasticemail username and api password, and reboot the discourse app) but still face the same issue

**2. contacting digital ocean to open up SMTP**  
Community in discourse has mentioned that DO would have blocked and that is why we are facing this issue. I am waiting for their reply. Is it really to do with DO or with elasticemail? Some asked to do telnet.

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/8/8891cecaa1371fd9c828de8894464d1809751278.png)  
Am getting the above. Does it looks correct?

Sorry if this both solution are not supposed for this error. Can someone advice where am missing?

---

_[View the full topic](https://meta.discourse.org/t/there-was-a-problem-sending-the-test-email/91312)._
