# חבר SMTP ל-Discourse

**URL:** https://meta.discourse.org/t/connect-smtp-to-discourse/314771
**Category:** Self-hosting
**Tags:** email
**Created:** [3 ביולי,‏ 2024,‏ 9:33am UTC](https://meta.discourse.org/t/connect-smtp-to-discourse/314771 "2024-07-03T09:33:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Andry\_Osminin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andry_osminin/32/565957_2.png) [@Andry\_Osminin](https://meta.discourse.org/u/Andry_Osminin)
#### Post date: [3 ביולי,‏ 2024,‏ 9:33am UTC](https://meta.discourse.org/t/connect-smtp-to-discourse/314771/1 "2024-07-03T09:33:46Z")

</div>

I have been trying to connect SMTP to Discourse for a few days. I have added MX, SPF and DKIM to my DNS records and all checks have been successful. However, on my first visit to my site, I need to send an email to register an admin account, but it doesn’t come. Please look at the screenshot of the setup, what am I doing wrong. I have tried everything I can think of. Maybe it’s the quotes that the password is wrapped in?

 ![Screenshot_4](https://global.discourse-cdn.com/meta/original/4X/c/6/6/c66617f9c02ad555853df07dd020ebf78ee8a437.jpeg)

---

<div class="post-metadata">

### Author: ![Architect](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/architect/32/520575_2.png) [@Architect](https://meta.discourse.org/u/Architect)
#### Post date: [3 ביולי,‏ 2024,‏ 4:05pm UTC](https://meta.discourse.org/t/connect-smtp-to-discourse/314771/2 "2024-07-03T16:05:50Z")

</div>

SMTP port is usually 587, and you may be correct that quotation marks around the password could be the problem would take those out.

Here is troubleshooting guide if you haven’t checked this already:

> [@Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326):
>
> You just installed Discourse via [the install guide](https://github.com/discourse/discourse/blob/main/docs/INSTALL.md), but email doesn’t seem to work. Unfortunately this means you can’t log in as an admin to finalize the install. cry Let’s troubleshootize! Try the doctor woman_health_workerIf you run ./discourse-doctor it will check several ways that your mail configuration might be broken, and offer advice. Try that first. Did you enter email settings correctly? The simplest way is to run ./discourse-setup again. Did you enter everything correctly? B…

(For [standard install](https://meta.discourse.org/t/142537?silent=true))
