Service email not woking

I using mailgun for service email…
I config ok like http://crunchify.com/how-to-configure-mailgun-email-server-on-discourse-forum-correct-way/
But when register not send message verify.
I send email test (/admin/email) but not working


Please help me.

I have no idea how correct the crunchify instructions are, but there is a troubleshooting how to that should help

2 Likes

Mailgun needs You to either add Your admin ID to be added to be added to a list called authorized recipients as there is a time gap between them moving Your account from screened accounts to normal accounts!

You can check for that and also, You can try cross checking your app.yml if all details are stored correctly. if not, try to rectify the details and rebuild your container.

2 Likes

This is my config in app,yml

DISCOURSE_SMTP_ADDRESS: smtp.mailgun.org
DISCOURSE_SMTP_USER_NAME: postmaster@site.info
DISCOURSE_SMTP_PASSWORD: pasword
#DISCOURSE_SMTP_PORT: 465
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
I verify domain on mailgun Successfully.

You should not post Your contents here!

if You want to exchange sensitive information, Use the DM

1 Like

YES, i post example for DISCOURSE_SMTP_PASSWORD…it’s fake.Tks for remind me.

in Your config, the communication Port and TLS support are disabled and that is definitely the reason Your system is unable to identify which port/protocol to use.

You need to cross check the port with mailgun that supports TLS and then remove the # in front of these two lines

WOW.The tutorial say remove
DISCOURSE_SMTP_PORT: 465
DISCOURSE_SMTP_ENABLE_START_TLS:

so i commenit it.

This isn’t official discourse so I take no responsibility of what they do or say. I have configured mailgun using the official instructions and that has always worked for me so far,

3 Likes

Also, adding additional information, make a new sender on mailgun as noreply@(your.domain) and use it’s credentials instead of the default postmaster account.

1 Like

YES…this is of Discource Switching Your Discourse from Mandrill to Mailgun

But not say config Port.

But i try using port 25 - 465 - 578 then onlly 578 ok!

IT IS WORKING!

Tks you so much itsbhanusharma

That is the default startTLS port for SMTP if You do a bit of Googling :wink:

Glad that it’s working finally :slight_smile:

1 Like