CRM: fix copy email in mailgate

bzr revid: ced-5b7d32f5dd6842410924020fef8603c4189aacf2
This commit is contained in:
ced 2007-04-13 08:29:14 +00:00
parent 876609722c
commit cd35d7ad10
1 changed files with 2 additions and 2 deletions

View File

@ -205,9 +205,9 @@ class email_parser(object):
msg['X-Priority'] = priorities.get(priority, '3 (Normal)')
s = smtplib.SMTP()
s.connect()
s.sendmail(self.email, emails[0], msg.as_string())
s.sendmail(self.email, emails, msg.as_string())
s.close()
print 'Email Sent To', emails[0], emails
print 'Email Sent To', emails
return True
def msg_partner(self, msg, id):