Displaying 1 result from an estimated 1 matches for "_charset".
Did you mean:
charset
2016 Jan 08
0
yum-cron / email sending problem
...4, in <lambda>
map(lambda x: x.sendMessages(), self.emitters)
File "/usr/sbin/yum-cron", line 227, in sendMessages
msg = MIMEText(''.join(self.output))
File "/usr/lib64/python2.7/email/mime/text.py", line 30, in __init__
self.set_payload(_text, _charset)
File "/usr/lib64/python2.7/email/message.py", line 226, in set_payload
self.set_charset(charset)
File "/usr/lib64/python2.7/email/message.py", line 262, in set_charset
self._payload = self._payload.encode(charset.output_charset)
UnicodeEncodeError: 'ascii...