I installed the open source discourse on digitalOcean hosting server. The smtp server used Mailgun Free ver.
The mailgun Free ver. smtp installed on discourse is not sending mail, so I want to change the smtp server.
How can I replace the smtp server installed in discourse?
I’m afraid that explaining how to use software that has nothing to do with Discourse is usually out of the scope of this forum. If you have trouble and a budget, you can post in marketplace.
That said, I agree with pfaffman, likely Mailgun wasn’t properly configured (many people use it for Discourse with no troubles) or app.yml wasn’t properly filled in. I’d look at both, and as for changing SMTP settings, as pfaffman said a few times, you can also run ./discourse-setup, which will lead to the software’s configuration step by step.