Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send mails with UTF-8 characters #18

Open
yigitguler opened this issue Aug 5, 2014 · 0 comments
Open

Unable to send mails with UTF-8 characters #18

yigitguler opened this issue Aug 5, 2014 · 0 comments

Comments

@yigitguler
Copy link

Hi,

I just tried to use this package on a project and apparently it crashes with emails containing UTF-8 Characters.

It crashes at this line:

message.message().as_string().decode('utf8')

as_string() function is unable to decode utf-8 character.

UnicodeEncodeError: 'ascii' codec can't encode character u'\u2022' in position 5330: ordinal not in range(128)

How did you solve this in your projects?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant