Email not working after finished setting discourse


#1

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:

https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326/186?source_topic_id=61101

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?


#3

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_ADDRESS: smtp.mailgun.com
  DISCOURSE_SMTP_PORT: 587
  DISCOURSE_SMTP_USER_NAME: postmaster@smtp.filewaveadmins.com
  DISCOURSE_SMTP_PASSWORD: "mysuperduperpassword"
  DISCOURSE_SMTP_ENABLE_START_TLS: true           # (optional, default true)

But nothing happens…


#4

Is your mailgun domain all set up?


#5

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?


#7

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

DISCOURSE_SMTP_ADDRESS: smtp.mailgun.com is supposed to read .org


(Jeff Atwood) #8