Skip to content

Unable to send mails with UTF-8 characters #18

Description

@yigitguler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions