diff options
-rw-r--r-- | askbot/mail/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/askbot/mail/__init__.py b/askbot/mail/__init__.py index 6e181b33..9da53ac4 100644 --- a/askbot/mail/__init__.py +++ b/askbot/mail/__init__.py @@ -1,6 +1,7 @@ """functions that send email in askbot these automatically catch email-related exceptions """ +import logging import os import re import smtplib @@ -133,6 +134,7 @@ def send_mail( ) msg.attach_alternative(body_text, "text/html") msg.send() + logging.debug('sent update to %s' % ','.join(recipient_list)) if related_object is not None: assert(activity_type is not None) except Exception, error: |