Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium Component-EMail Project-ReviewBoard

New issue 3926 by [email protected]: E-mail sending failure with utf-8 characters in description
https://code.google.com/p/reviewboard/issues/detail?id=3926

Sending an e-mail with 2.5beta2 fails if there are utf-8 characters in the review request description:

2015-07-22 23:35:34,565 - ERROR - - Error sending e-mail notification with subject 'XXXXX' on behalf of '"XXXXX" <xxxxx@xxxxx>' to '"XXXXX" <xxxxx@xxxxx>'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5b2.dev20150717171306-py2.7.egg/reviewboard/notifications/email.py", line 373, in send_review_mail
    message.send()
File "/usr/local/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/mail/message.py", line 276, in send
    return self.get_connection(fail_silently).send_messages([self])
File "/usr/local/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/mail/backends/smtp.py", line 94, in send_messages
    sent = self._send(message)
File "/usr/local/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/mail/backends/smtp.py", line 110, in _send
    self.connection.sendmail(from_email, recipients, message.as_bytes())
File "/usr/local/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/mail/message.py", line 138, in as_string
    return fp.getvalue()
  File "/usr/lib64/python2.7/StringIO.py", line 271, in getvalue
    self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1217: ordinal not in range(128)

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to