此库提供
asyncio
基服务器实现对于
RFC 5321
SMTP (简单邮件传输协议) 和
RFC 2033
LMTP (本地邮件传输协议)。它派生自
Python 3.5 的 smtpd.py
standard library module, and provides both a command line interface and an API for use in testing applications that send email.
Inspiration for this library comes from several other packages:
aiosmtpd
takes the best of these and consolidates them in one place.
RFC 5321 - SMTP (简单邮件传输协议)
RFC 2033 - LMTP (本地邮件传输协议)
RFC 2034 - SMTP Service Extension for Returning Enhanced Error Codes
RFC 6531 - SMTP Extension for Internationalized Email
RFC 4954 - SMTP Service Extension for Authentication
RFC 5322 - Internet 消息格式
RFC 3696 - Application Techniques for Checking and Transformation of Names
RFC 2034 - SMTP Service Extension for Returning Enhanced Error Codes
RFC 1870 - SMTP Service Extension for Message Size Declaration
Python 问题 #25008 which started the whole thing.