8000 Use email.message.EmailMessage for received emails · Issue #377 · aio-libs/aiosmtpd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use email.message.EmailMessage for received emails #377
Open
@bebleo

Description

@bebleo

Currently aiosmtpd uses email.message.Message to represent a received email. Since version 3.6 (I believe) the preferred class according to python documentation is email.message.EmailMessage.

Making this change would bring aiosmtpd in line with the supported versions of python (currently >= 3.7). It would, however, be a breaking change.

My quick look at the code suggests that the only changes needed to accomplish this would be modifications to:

  • handlers.Message
  • handlers.Mailbox

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtThings that needs to be tidied up to avoid being bitten in the future...

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0