summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/server.js b/server.js
index da77087..7d40234 100644
--- a/server.js
+++ b/server.js
@@ -54,6 +54,11 @@ if (process.env.MAIL_HOST && process.env.MAIL_PORT && process.env.MAIL_FROM) {
console.log("Mail notifications enabled: ", mailer.options);
} else {
console.log("Mail notifications disabled.");
+ mailer = {
+ sendMail(obj, callback) {
+ callback("DID NOT SEND: " + JSON.stringify(obj,0,4));
+ }
+ }
}
/*