# Discourse install and SMTP issue

**URL:** https://meta.discourse.org/t/discourse-install-and-smtp-issue/255631
**Category:** Self-hosting
**Tags:** email
**Created:** [February 19, 2023, 9:00pm UTC](https://meta.discourse.org/t/discourse-install-and-smtp-issue/255631 "2023-02-19T21:00:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nanohits](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nanohits/32/210494_2.png) [@nanohits](https://meta.discourse.org/u/nanohits)
#### Post date: [February 19, 2023, 9:00pm UTC](https://meta.discourse.org/t/discourse-install-and-smtp-issue/255631/1 "2023-02-19T21:00:45Z")

</div>

Hi All,  
Been racking my brain on finding a solution to this.

So basically I have done a fresh install of Discourse on a VPS with Ubuntu 20.04. Everything has gone well, except that I ran into a snag with SMTP. So I use Mailjet for SMTP and it sees as the SMTP as fine. So when I get into the main setup, activating the account does not send the email.

I have gone through the doctor which says it sent fine and went through the SMTP trouble shoot with this link: [https://d.pr/gjym7J](https://d.pr/gjym7J)

I thought this could be the issue:

> [@Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326/1):
>
> The default email from address is based on the install domain plus subdomain, so if your URL is `discourse.example.com` it will be:
> 
> `noreply@discourse.example.com`

I rebuilt after making it my main domain instead of the subdomain it defaults to. But the problem persists. Now I am not too technical. Would love some help in this matter

Thanks

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 19, 2023, 11:05pm UTC](https://meta.discourse.org/t/discourse-install-and-smtp-issue/255631/2 "2023-02-19T23:05:56Z")

</div>

What do you see at the mail jet logs? Did they receive the message? Was it delivered? Did you check spam folder?

---

<div class="post-metadata">

### Author: ![Timelord](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Timelord](https://meta.discourse.org/u/Timelord)
#### Post date: [February 21, 2023, 5:20pm UTC](https://meta.discourse.org/t/discourse-install-and-smtp-issue/255631/3 "2023-02-21T17:20:14Z")

</div>

Be sure that within mailjet, your domain is authorized for sending email.
