aio-libs / aiosmtpd

A reimplementation of the Python stdlib smtpd.py based on asyncio.
https://aiosmtpd.aio-libs.org
Apache License 2.0
313 stars 95 forks source link

Session.login_data is deprecated #347

Open bt90 opened 1 year ago

bt90 commented 1 year ago

The following warning is logged with aiosmptd 1.4.2 and 1.4.3:

WARNING:mail.log:Session.login_data is deprecated and will be removed in version 2.0

As mentioned by @YoRyan, Mailrise does not use the legacy authentication mechanism:

https://github.com/YoRyan/mailrise/issues/39#issuecomment-1360389604

pepoluan commented 1 year ago

Thanks! It seems that in the plan of deprecating session.login_data, aiosmtpd itself does inadvertently use a deprecated feature.

Will try to fix that for 1.5.0.