Changeset 4033

Show
Ignore:
Timestamp:
07/17/08 16:20:41 (4 months ago)
Author:
doki_pen
Message:

fixes ticket #2697

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • announcerplugin/0.11/announcerplugin/distributors/email_distributor.py

    r4031 r4033  
    280280        smtp = smtplib.SMTP() 
    281281        smtp.connect(self.smtp_server) 
    282         smtp.login(self.smtp_user, self.smtp_password) 
     282        if self.smtp_user: 
     283            smtp.login(self.smtp_user, self.smtp_password) 
    283284        smtp.sendmail(smtpfrom, addresses, message) 
    284285        smtp.quit()