Hi,

I have an email that's in the utf-8 encoding, and I'm getting this
error message when I try to send it using smtplib:

    * Module smtplib, line 688, in sendmail
    * Module smtplib, line 485, in data
    * Module smtplib, line 312, in send
    * Module socket, line 1, in sendall

UnicodeEncodeError: 'ascii' codec can't encode characters in position
263-264: ordinal not in range(128)

any suggestions on how I can approach this so that the email can be
sent without raising errors?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to