SMTP server connects, mail fails to send

==================== MAIL TEST ====================
For a robust test, get an address from
Sending mail to REDACTED  . . 
Testing sending to using
SMTP server connection successful.
Sending to . . 
Sending mail failed.

==================== DONE! ====================

And I do not get the activation email for setting up account

Any help is appreciated :stuck_out_tongue_closed_eyes:

1 Like

My guess is that your forum is called and is sending from and your mail server won’t do it. There is a line at the bottom of app.yml that you can change to set the address. You have to edit it by hand.


Can you explain more in detail, my site is located at and the email is, my app.yml Config looks fine

1 Like
## Any custom commands to run after building
  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  - exec: rails r "SiteSetting.notification_email=''"
  - exec: echo "End of custom commands"

I have made sure the lines are uncommented and the email is correct now and I have rebuilt the container but I still receive no verification email

1 Like

Sorry. That was my best guess.


So, what do I need to do? I can give you access to the server if needed to help me!

Sorry. I’ve done my best here and have no more ideas.

If you want me to solve your problem, then you can see my installation packages: Discourse Installation Packages — Literate Computing, LLC.

I can configure Mailgun for you and it will work. There are a hundred different things that might be causing your custom mail server not to work.

Well, I don’t want to reconfigure my mail stuff with my domain and don’t want to be spending more money for mailgun


You’d not need to change any of your existing mail stuff and Mailgun is free for the first 10K messages/month.

1 Like