aio-libs / aio-libs/aiosmtpd

Use email.message.EmailMessage for received emails

Abierto
#377 1 comentario 1 reacción 0 asignados Ver en GitHub
tech-debt
Lenguaje dominante
Python
Estrellas
373
Forks
105
Merge medio
4 min
PR fusionados (30 d)
2

Descripción

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`

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.