Email not working after finished setting discourse


I just finished setting up discourse and I i have an account with mailgun and I configured everything via them. When I try to receive the first email for the admin account it never sends it.

I just submitted a ticket with mailgun to see what they say but I wanted to check with your guys first…

I have read and tried all suggested below:

I have also changed the TLS settings from Opportunitstic to Required and still doesnt work… (i’ve changed them back)…

Please advise.

(Jay Pfaffman) #2

What do the Mailgun logs say?


The logs dont show anything is being sent… the part in the app.yml for smtp:

## TODO: The SMTP mail server used to validate new accounts and send notifications
  DISCOURSE_SMTP_PASSWORD: "mysuperduperpassword"
  DISCOURSE_SMTP_ENABLE_START_TLS: true           # (optional, default true)

But nothing happens…


Is your mailgun domain all set up?


yes, I even sent a test email from my server (the same server running discourse) and the mail was sent.

(Joshua Rosenfeld) #6

Well then…
From the topic you linked: What do the Discourse logs say? Also, does anything appear in /admin/email?


@jomaxro its not Discourse. I think I figured out what it was… smh.

DISCOURSE_SMTP_ADDRESS: is supposed to read .org

(Jeff Atwood) #8