diff options
Diffstat (limited to 'calm/utils.py')
-rw-r--r-- | calm/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calm/utils.py b/calm/utils.py index 47085fd..26e3655 100644 --- a/calm/utils.py +++ b/calm/utils.py @@ -196,3 +196,5 @@ def sendmail(hdr, msg): with subprocess.Popen(['/usr/sbin/sendmail', '-t', '-oi', '-f', hdr['From']], stdin=subprocess.PIPE) as p: p.communicate(m.as_bytes()) logging.debug('sendmail: msgid %s, exit status %d' % (m['Message-Id'], p.returncode)) + + return m['Message-Id'] |