App.sendMail

This commit is contained in:
pvincent
2021-08-27 17:41:44 +04:00
parent 089f137636
commit ed931b7b2c
3 changed files with 36 additions and 11 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ class App extends sugoi.BaseApp {
var mailer:sugoi.mail.IMailer = new sugoi.mail.BufferedMailer();
if (App.config.DEBUG) {
// Dev env : emails are written to tmp folder
App.log("DEBUGEmailer enabled => emails are written to tmp folder");
mailer = new sugoi.mail.DebugMailer();
} else {
if (sugoi.db.Variable.get("mailer") == null) {