# Aide, n'envoyez pas l'e-mail

**URL:** <https://meta.discourse.org/t/help-do-not-send-the-email/82515>\
**Category:** Self-hosting\
**Created:** [Mars 8, 2018, 1:09 UTC](https://meta.discourse.org/t/help-do-not-send-the-email/82515 "2018-03-08T13:09:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Mecanicos\_Argentinos](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Mecanicos\_Argentinos](https://meta.discourse.org/u/Mecanicos_Argentinos)\
**Post date:** [Mars 8, 2018, 1:09 UTC](https://meta.discourse.org/t/help-do-not-send-the-email/82515/1 "2018-03-08T13:09:51Z")

</div>

Hello friends, good day.

First, I want to clarify that I do not speak or write English. I speak and write Spanish. That’s why I’m using Google Translate. Please accept my apologies.

My experience is with shared hosting and using Gmail for emails; that is, I have no experience with this type of system.

My problem is that I cannot install the system. It is impossible to send the activation email.

Here are the steps and actions I have taken:

1 - I contracted the Digital Ocean service with the Discourse application pre-installed.  
2 - Activated the domain.  
3 - Configured Mailgun, creating subdomains to handle email.

Now, I will try to explain step by step what I did:

1 - I obtained a Droplet on DigitalOcean with Ubuntu and Discourse pre-installed.

2 - The domain is configured with its respective DNS records provided by DigitalOcean.

3 - In Mailgun, I created the domain and two subdomains. In the Discourse installation, I only use a single subdomain.

4 - Mailgun configuration was completed using the DNS settings in DigitalOcean.

5 - Each subdomain and domain is correctly active, according to Mailgun.

 ![Captura](https://global.discourse-cdn.com/meta/original/3X/b/8/b8986362406fc9187df77bc30d864371370bb235.PNG)

6 - According to the guide on GitHub and the Discourse installation process:

```
* Hostname for your Discourse? [discourse.example.com]:
      * ---- At this point, can you use the root domain?
 * Email address for admin account(s)? [me@example.com, you@example.com]:
       * ----- In this section, I entered my email address, in this case, a Gmail address.

```

- SMTP server address? [[smtp.example.com](http://smtp.example.com)]:  
SMTP port? [587]:  
SMTP user name? [user@example.com]:  
SMTP password? [pa$$word]:  
Let’s Encrypt account email? (ENTER to skip) [me@example.com]:

- ------ In these steps, the data provided by Mailgun should be entered.

Here is the actual configuration:

DISCOURSE\_HOSTNAME: ‘[discourse.mecanicosargentinos.com](http://discourse.mecanicosargentinos.com)’

DISCOURSE\_DEVELOPER\_EMAILS: ‘xxxxxxxxx@gmail.com’

DISCOURSE\_SMTP\_ADDRESS: [smtp.mailgun.org](http://smtp.mailgun.org) # required  
DISCOURSE\_SMTP\_PORT: 587 # (optional, default 587)  
DISCOURSE\_SMTP\_USER\_NAME: [postmaster@discourse.mecanicosargentinos.com](mailto:postmaster@discourse.mecanicosargentinos.com) # required  
DISCOURSE\_SMTP\_PASSWORD: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # required, WARNING: the character ‘#’ in the password can cause problems!  
#DISCOURSE\_SMTP\_ENABLE\_START\_TLS: true # (optional, default true)

Below is a log from a subdomain; keep in mind that the attempts are from Outlook.

 ![Captura1](https://global.discourse-cdn.com/meta/original/3X/7/8/789ab9b250e0d8762aa00c3ff703778a320a8dab.PNG)

7 - Following this guide:  
[https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326/2](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326/2)

If I run this command:

telnet [smtp.mailgun.org](http://smtp.mailgun.org) 587

I get this result:

 ![Captura2](https://global.discourse-cdn.com/meta/original/3X/2/2/2223a9ddd166515f0b01bb0aedfd5c68ae8254c7.PNG)

I must be doing something wrong. Can you help me? Thank you so much!!!

---

_[View the full topic](https://meta.discourse.org/t/help-do-not-send-the-email/82515)._
