Changeset 140:768ab78d4b35 for mailer/sender.py
- Timestamp:
- 07/23/07 18:25:06 (13 months ago)
- Files:
-
- 1 modified
-
mailer/sender.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mailer/sender.py
r136 r140 28 28 """sends the mail by storing it into the DB""" 29 29 inserter = mail_data.insert() 30 if isinstance(msg, unicode): 31 msg = msg.encode('utf8') 32 if isinstance(subject, unicode): 33 subject = subject.encode('utf8') 34 30 35 res = inserter.execute(subject=subject, sender=sender, 31 36 recipients=','.join(recipients),
