Skip to content
Snippets Groups Projects
Commit 6dcfadfb authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Closes #2316; Send test mail will block the server

parent 5f38dd77
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@ Meteor.methods
unless user.emails?[0]?.address
throw new Meteor.Error 'invalid-email', "[methods] sendSMTPTestEmail -> Invalid e-mail"
this.unblock()
Email.send
to: user.emails[0].address
from: RocketChat.settings.get('From_Email')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment