Changeset 26:0dcb95910259 in mailjam


Ignore:
Timestamp:
May 23, 2012, 11:48:34 AM (10 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

Enabled again the code that performs the re-send of mailings to members
of a given list (it was disabled before for debugging purposes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mailjam/mta.py

    r20 r26  
    9898            email_file.close()
    9999            email_data['Reply-to'] = self.reply_to
    100             print 'SENDING EMAIL:'
    101             print email_data
    102             #smtp_conn = smtplib.SMTP()
    103             #smtp_conn.connect()
    104             #smtp_conn.sendmail(email_data['From'], self.suscriptors,
    105             #                   email_data.as_string())
    106             #smtp_conn.close()
     100            smtp_conn = smtplib.SMTP()
     101            smtp_conn.connect()
     102            smtp_conn.sendmail(email_data['From'], self.suscriptors,
     103                               email_data.as_string())
     104            smtp_conn.close()
    107105            # FIXME: enable tmp data removal here:
    108106            # if not self.config['archive']['persistent']:
Note: See TracChangeset for help on using the changeset viewer.