Changeset 1626 in products for quintagroup.plonecomments/trunk/quintagroup/plonecomments
- Timestamp:
- Feb 3, 2010 3:46:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/utils.py
r1201 r1626 39 39 actions = { 'onPublish': ('enable_approve_user_notification', 40 40 'enable_reply_user_notification', 41 'enable_published_notification' ),42 'onDelete' : 41 'enable_published_notification',), 42 'onDelete' : ('enable_rejected_user_notification',), 43 43 'onApprove': ('enable_approve_notification',), 44 44 'onAnonymousReportAbuse': ('enable_anonymous_report_abuse',), 45 'onAuthenticatedReportAbuse': ('enable_authenticated_report_abuse' )}45 'onAuthenticatedReportAbuse': ('enable_authenticated_report_abuse',),} 46 46 47 47 if action == 'publishing': … … 209 209 subtype = 'plain', 210 210 debug = False, 211 charset = site_props.getProperty('default_charset', 'utf-8'), 212 From = admin_email) 211 charset = site_props.getProperty('default_charset', 'utf-8')) 213 212 except smtplib.SMTPRecipientsRefused: 214 213 log.error(_('SMTPRecipientsRefused: Could not send the email'
Note: See TracChangeset
for help on using the changeset viewer.