Ignore:
Timestamp:
Feb 3, 2010 3:46:27 PM (14 years ago)
Author:
kroman0
Message:

Fixed MailHostb? secureSend call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/utils.py

    r1201 r1626  
    3939    actions = { 'onPublish': ('enable_approve_user_notification', 
    4040                              'enable_reply_user_notification', 
    41                               'enable_published_notification'), 
    42                 'onDelete' :  ('enable_rejected_user_notification',), 
     41                              'enable_published_notification',), 
     42                'onDelete' : ('enable_rejected_user_notification',), 
    4343                'onApprove': ('enable_approve_notification',), 
    4444                'onAnonymousReportAbuse': ('enable_anonymous_report_abuse',), 
    45                 'onAuthenticatedReportAbuse': ('enable_authenticated_report_abuse')} 
     45                'onAuthenticatedReportAbuse': ('enable_authenticated_report_abuse',),} 
    4646 
    4747    if action == 'publishing': 
     
    209209                            subtype = 'plain', 
    210210                            debug = False, 
    211                             charset = site_props.getProperty('default_charset', 'utf-8'), 
    212                             From = admin_email) 
     211                            charset = site_props.getProperty('default_charset', 'utf-8')) 
    213212        except smtplib.SMTPRecipientsRefused: 
    214213            log.error(_('SMTPRecipientsRefused: Could not send the email' 
Note: See TracChangeset for help on using the changeset viewer.