Added MAIL_SERVICE settings. Part 2.

Thanks to xet7 !

Fixes #3702
This commit is contained in:
Lauri Ojansivu 2021-08-21 17:54:05 +03:00
parent f03b14a46b
commit 1fadf204c2
4 changed files with 9 additions and 5 deletions

View file

@ -135,7 +135,7 @@ RulesHelper = {
subject,
text,
})
} else {
} else if (process.env.MAIL_URL !== '') {
Email.send({
to,
from: Accounts.emailTemplates.from,