equal
deleted
inserted
replaced
115 message.check_initialized() |
115 message.check_initialized() |
116 |
116 |
117 try: |
117 try: |
118 # send the message |
118 # send the message |
119 message.send() |
119 message.send() |
120 except Exception, e: |
120 except Exception, exception: |
121 import logging |
121 import logging |
122 logging.info(context) |
122 logging.info(context) |
123 logging.exception(e) |
123 logging.exception(exception) |
124 |
124 |
125 def getDefaultMailSender(): |
125 def getDefaultMailSender(): |
126 """Returns the sender that currently can be used to send emails. |
126 """Returns the sender that currently can be used to send emails. |
127 |
127 |
128 Returns: |
128 Returns: |