Your Rocket.Chat version: 0.21.0
Deployed to Heroku. Set up smtp details in Settings > SMTP. But get error in logs "set the MAIL_URL environment variable". Any advice appreciated.
I'm seeing the same issue.
This is a problem with how Meteor sends e-mail. Let's try and make a PR for meteor to allow changing the SMTP server after a mail has been sent. Meteor's issue: https://github.com/meteor/meteor/issues/4323
For now, if you restart your server after making changes, it should work.
Let's see if Meteor accepts our PR https://github.com/meteor/meteor/pull/6698
Can we update the documentation about this at https://rocket.chat/docs/administrator-guides/email/? I feel like that's probably doing more harm than good at this point.
Perhaps for now, there should be something in the SMTP settings section that advises you to restart your server after configuring the SMTP settings.
@alexweissman can you do a PR to update the documentation at https://github.com/RocketChat/Rocket.Chat.Docs/blob/master/5.%20Administrator%20Guides/Email/README.md ?
@engelgabriel done!
Most helpful comment
Can we update the documentation about this at https://rocket.chat/docs/administrator-guides/email/? I feel like that's probably doing more harm than good at this point.
Perhaps for now, there should be something in the SMTP settings section that advises you to restart your server after configuring the SMTP settings.