aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource/utils.py3
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):
bgstack15