diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-23 23:49:31 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-23 23:49:31 +0100 |
commit | 1d46328d581e65aa3081ca55e140b48f9b6333fa (patch) | |
tree | 27cf1c807eeaa267ddaf70854f255424af0c2844 | |
parent | Added agin '-tt' option through subprocess.Popen in pyAggr3g470r (diff) | |
download | newspipe-1d46328d581e65aa3081ca55e140b48f9b6333fa.tar.gz newspipe-1d46328d581e65aa3081ca55e140b48f9b6333fa.tar.bz2 newspipe-1d46328d581e65aa3081ca55e140b48f9b6333fa.zip |
test of send_mail()
-rwxr-xr-x | source/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/utils.py b/source/utils.py index 24d6c538..115fffd9 100755 --- a/source/utils.py +++ b/source/utils.py @@ -176,7 +176,8 @@ def send_mail(mfrom, mto, feed_title, article_title, description): else: # sendmail function takes 3 arguments: sender's address, recipient's address # and message to send - here it is sent as one string. - s.sendmail(mfrom, mto, msg.as_string()) + #s.sendmail(mfrom, mto, msg.as_string()) + s.send_message(msg) s.quit() def add_feed(feed_url): |