Skip to content

UTF-8 Problems #4

@fabianfreyer

Description

@fabianfreyer

Traceback:

 File "snailmail.py", line 139, in <module>
    s.send_message(msg)
  File "/usr/lib/python3.7/smtplib.py", line 960, in send_message
    bytesmsg, policy=msg.policy.clone(utf8=True))
  File "/usr/lib/python3.7/email/_policybase.py", line 74, in clone
    attr, self.__class__.__name__))
TypeError: 'utf8' is an invalid keyword argument for Compat32

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions