diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-14 00:34:22 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-14 00:34:22 +0200 |
commit | 18449d7dd31123e14f8a0d87047f2f85187a156b (patch) | |
tree | 0670ac33b3698f782f49c8787f57d6354a8bc504 /debian/patches/0105-try_mail.diff | |
parent | 19c841561fe19d657ce0305bfb70a274ea9f5a36 (diff) |
work on new release
Diffstat (limited to 'debian/patches/0105-try_mail.diff')
-rw-r--r-- | debian/patches/0105-try_mail.diff | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/patches/0105-try_mail.diff b/debian/patches/0105-try_mail.diff index b1b204b..d390b6d 100644 --- a/debian/patches/0105-try_mail.diff +++ b/debian/patches/0105-try_mail.diff @@ -12,7 +12,7 @@ Index: trunk/mwc.py =================================================================== --- trunk.orig/mwc.py +++ trunk/mwc.py -@@ -223,15 +223,27 @@ def sendmail(receiver, subject, content, +@@ -225,16 +225,27 @@ def sendmail(receiver, subject, content, mail['Subject'] = Header(subject, defaultEncoding) # initialize session once, not each time this method gets called @@ -21,7 +21,8 @@ Index: trunk/mwc.py - if config.useTLS: - mailsession.ehlo() - mailsession.starttls() -- mailsession.login(config.smtpusername, config.smtppwd) +- if config.smtpusername is not None: +- mailsession.login(config.smtpusername, config.smtppwd) - - mailsession.sendmail(config.sender, receiver.split(','), mail.as_string()) - |