some more debug stuff and set rcpt to _rcpt in json files to not get spammed by mails while testing
This commit is contained in:
parent
737d65ccd5
commit
23a1a246cc
4 changed files with 5 additions and 3 deletions
|
|
@ -51,7 +51,8 @@ class MailTask(Task):
|
|||
|
||||
def execute(self, msg, taskArgs):
|
||||
if "rcpt" not in taskArgs:
|
||||
raise "could not execute Mail Task! No recipient given!"
|
||||
logger.debug("Could not execute Mail Task! No recipient given!")
|
||||
raise "Could not execute Mail Task! No recipient given!"
|
||||
|
||||
logger.debug("Eecuting Task!")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue