Skip to content

Python3 Gmail #7

@andreiminca

Description

@andreiminca

Because you are using Python3, instead of using:

email.message_from_string(raw_email)
use:

email.message_from_bytes(raw_email)

Using the first line of code, on a gmail client, would raise an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions