From 776b29b6794033af555338b92138c7fd43edb170 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Tue, 10 Jul 2018 05:29:20 +1000 Subject: [PATCH] Fixing more heroku variants --- private/email/Email.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/private/email/Email.js b/private/email/Email.js index 60cdfbe..17ae88b 100644 --- a/private/email/Email.js +++ b/private/email/Email.js @@ -43,10 +43,8 @@ class Email { if(!this.getConfig().getValueOf("smtp.password")) throw new Error("Missing SMTP Password Config"); //We require some info about the person who handles the mailing. - if(!this.getConfig().getValueOf("smtp.destination")) throw new Error("Missing SMTP Destination Config"); if(!this.getConfig().getValueOf("smtp.destination.name")) throw new Error("Missing SMTP Destination Name Config"); if(!this.getConfig().getValueOf("smtp.destination.email")) throw new Error("Missing SMTP Destination Email Config"); - if(!this.getConfig().getValueOf("smtp.source")) throw new Error("Missing SMTP Source Config"); if(!this.getConfig().getValueOf("smtp.source.name")) throw new Error("Missing SMTP Source Name Config"); if(!this.getConfig().getValueOf("smtp.source.email")) throw new Error("Missing SMTP Source Email Config");