# Não consigo enviar e-mails no 16.04 - DigitalOcean

**URL:** <https://meta.discourse.org/t/cant-send-mail-on-16-04-digitalocean/86852>\
**Category:** Self-hosting\
**Created:** [Maio 5, 2018, 9:46pm UTC](https://meta.discourse.org/t/cant-send-mail-on-16-04-digitalocean/86852 "2018-05-05T21:46:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Jack\_Spangenberg](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@Jack\_Spangenberg](https://meta.discourse.org/u/Jack_Spangenberg)\
**Post date:** [Maio 5, 2018, 9:46pm UTC](https://meta.discourse.org/t/cant-send-mail-on-16-04-digitalocean/86852/1 "2018-05-05T21:46:44Z")

</div>

I’ve been looking for the answer all day, nothing.

- I’m doing a fresh install via the first rails app guide on github.
- Using a 1GB DigitalOcean droplet
- Using NameCheap’s private email server.

Here is my `app.yml`:

```plaintext
DISCOURSE_HOSTNAME: smocks.me

  ## Uncomment if you want the container to be started with the same
  ## hostname (-h option) as specified above (default "$hostname-$config")
  #DOCKER_USE_HOSTNAME: true

  ## TODO: List of comma delimited emails that will be made admin and developer
  ## on initial signup example 'user1@example.com,user2@example.com'
  DISCOURSE_DEVELOPER_EMAILS: ' ***** @gmail.com'

  ## TODO: The SMTP mail server used to validate new accounts and send notifications
  # SMTP ADDRESS, username, and password are required
  # WARNING the char '#' in SMTP password can cause problems!
  DISCOURSE_SMTP_ADDRESS: mail.privateemail.com
  DISCOURSE_SMTP_PORT: 587
  DISCOURSE_SMTP_USER_NAME: admin@***.me
  DISCOURSE_SMTP_PASSWORD: " *****"
  #DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)

```

Would appreciate any help on this.  
P.S. I ran the `more` command on my Discourse log, it says `Mail Sent`!

---

_[View the full topic](https://meta.discourse.org/t/cant-send-mail-on-16-04-digitalocean/86852)._
