Rocket.chat: Set STMP settings. Get "set the MAIL_URL environment variable" when attempting send

Created on 11 Mar 2016  路  7Comments  路  Source: RocketChat/Rocket.Chat

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.

waiting response bug

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.

All 7 comments

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.

@engelgabriel done!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neha1deshmukh picture neha1deshmukh  路  3Comments

amayer5125 picture amayer5125  路  3Comments

danpospisil picture danpospisil  路  3Comments

zeigerpuppy picture zeigerpuppy  路  3Comments

antn89 picture antn89  路  3Comments