cubicweb #229661 handle errors on sending email [open]
When a notification email is sent and doesn't get through (for example the STMP server refuses it because he thinks it's spam), cubicweb should handle the error and retry later or show the error to the site admin. For example 2009-03-09 09:59:54 - (cubicweb.session) ERROR: error sending mail to [u'XX@XX.com'] ((550, '5.7.1 Blocked by SpamAssassin')) Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/cubicweb/server/hookhelper.py", line 85, in sendmails smtp.sendmail(heloaddr, recipients, msg.as_string()) File "/usr/lib/python2.5/smtplib.py", line 707, in sendmail raise SMTPDataError(code, resp) SMTPDataError: (550, '5.7.1 Blocked by SpamAssassin') | |
priority | minor |
---|---|
type | enhancement |
done in | <not specified> |
load | 0.500 |
load left | 0.500 |
closed by | <not specified> |
similar entities
- apycot #1349937 Include configuration change in notification email
- cubicweb-nosylist #789922 propose to register to notification while no email configured
- cubicweb-vcsfile #496140 send email when background task fail to import some revision
- cubicweb #3376252 use https url on notification when possible
- cubicweb #344306 enhance the input of multiple entities
[see all]