hi. I installed it on the open source discourse. 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.
Free mailgun smtp server is not working on discourse anymore?
How can I replace the smtp server installed in discourse?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hey @bubblylightcyanraft,
Before changing the SMTP settings and Free Mailgun, I’ll recommend checking them to see if they are correct according to Free Mailgun’s documentation.
The SMTP settings can be found following these steps
Navigate to the directory where your
app.yml
is located.Open the
app.yml
file with a text editor like nano or vi. For example:nano app.yml
Find the following lines in the file and update the SMTP server’s details:
After you’ve made your changes, save and close the file.
From the
/var/discourse
directory, rebuild the Discourse container with the command./launcher rebuild app
. This will apply the changes.Remember to replace the placeholder values with the actual SMTP settings provided by your new email service provider. You can generally find these details in the documentation or settings section of your provider’s website.