# Problem with email on non-default SMTP port

**URL:** <https://meta.discourse.org/t/problem-with-email-on-non-default-smtp-port/44122>\
**Category:** Self-hosting\
**Created:** [2016 年 5 月 12 日午後 2:35 UTC](https://meta.discourse.org/t/problem-with-email-on-non-default-smtp-port/44122 "2016-05-12T14:35:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![peercafe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/peercafe/32/55949_2.png) [@peercafe](https://meta.discourse.org/u/peercafe)\
**Post date:** [2016 年 5 月 12 日午後 2:35 UTC](https://meta.discourse.org/t/problem-with-email-on-non-default-smtp-port/44122/1 "2016-05-12T14:35:30Z")

</div>

Ok. I can’t get email to work with my Discourse install. I’ve got it setup on a DigitalOcean 2gb Droplet and the domain name is on Namecheap. I was able to do the workaround discribed in this post [https://meta.discourse.org/t/activation-email-not-being-sent-not-sure-whats-gone-wrong/32968/10](https://meta.discourse.org/t/activation-email-not-being-sent-not-sure-whats-gone-wrong/32968/10) to gain access to finish setup and prep the site, but I still can’t figure out the email controls.

Below I’ve tried to provide as much info as possible for my setup. I’m hoping someone can find the issue so I can move on. Thanks in advance.

Here is my “app.yml” setup:

 ![](https://global.discourse-cdn.com/meta/original/3X/1/6/16009a89f5e2a998098e71542e793499ad8be4be.JPG)

I run `sudo ./launcher rebuild app` whenever I change “app.yml”

Here is my Namecheap DNS record: _redacted_

Here is my DigitalOcean DNS record: _redacted_

Here is my log file from error when sending test email out of admin panel:

 ![](https://global.discourse-cdn.com/meta/original/3X/e/9/e91a197d02b74604e60129d542c58f1e70221b77.JPG)

I’m using Namecheap private email for SMTP settings.

I can receive emails to hello(at)peer(dot)cafe so I think the Namecheap records are correct. I can run `telnet mail.privateemail.com 465` on my DO droplet and am connected. So I’m thinking the problem is either in my “app.yml” file or the DO records. Any thoughts?

---

_[View the full topic](https://meta.discourse.org/t/problem-with-email-on-non-default-smtp-port/44122)._
