Index: roundup/mailer.py =================================================================== --- roundup/mailer.py (revision 4315) +++ roundup/mailer.py (working copy) @@ -117,7 +117,7 @@ message = self.get_standard_message(to, subject, author) message.set_payload(content) encode_quopri(message) - self.smtp_send(to, str(message)) + self.smtp_send(to, message.as_string()) def bounce_message(self, bounced_message, to, error, subject='Failed issue tracker submission'): @@ -163,7 +163,7 @@ # send try: - self.smtp_send(to, str(message)) + self.smtp_send(to, message.as_string()) except MessageSendError: # squash mail sending errors when bouncing mail # TODO this *could* be better, as we could notify admin of the Index: roundup/roundupdb.py =================================================================== --- roundup/roundupdb.py (revision 4315) +++ roundup/roundupdb.py (working copy) @@ -499,9 +499,9 @@ encode_quopri(message) if first: - mailer.smtp_send(sendto + bcc_sendto, str(message)) + mailer.smtp_send(sendto + bcc_sendto, message.as_string()) else: - mailer.smtp_send(sendto, str(message)) + mailer.smtp_send(sendto, message.as_string()) first = False def email_signature(self, nodeid, msgid):