Sd-aiosmtplib

Latest version: v1.1.6

Safety actively analyzes 682416 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.1.0

-----

- Feature: Added send coroutine api.

- Feature: Added SMTPUTF8 support for UTF8 chars in addresses.

- Feature: Added connected socket and Unix socket path connection options.

- Feature: Wait until the connect coroutine is awaited to get the event loop.
Passing an explicit event loop via the loop keyword argument is deprecated
and will be removed in version 2.0.

- Cleanup: Set context for timeout and connection exceptions properly.

- Cleanup: Use built in start_tls method on Python 3.7+.

- Cleanup: Timeout correctly if TLS handshake takes too long on Python 3.7+.

- Cleanup: Updated SMTPProcotol class and removed StreamReader/StreamWriter
usage to remove deprecation warnings in 3.8.

- Bugfix: EHLO/HELO if required before any command, not just when using
higher level commands.

- Cleanup: Replaced asserts in functions with more useful errors (e.g.
RuntimeError).

- Cleanup: More useful error messages for timeouts (thanks ikrivosheev!),
including two new exception classes, ``SMTPConnectTimeoutError`` and
``SMTPReadTimeoutError``

1.0.6

-----

- Bugfix: Set default timeout to 60 seconds as per documentation
(previously it was unlimited).

1.0.5

-----

- Bugfix: Connection is now closed if an error response is received
immediately after connecting.

1.0.4

-----

- Bugfix: Badly encoded server response messages are now decoded to utf-8,
with error chars escaped.

- Cleanup: Removed handling for exceptions not raised by asyncio (in
SMTPProtocol._readline)

1.0.3

-----

- Bugfix: Removed buggy close connection on __del__

- Bugfix: Fixed old style auth method parsing in ESMTP response.

- Bugfix: Cleanup transport on exception in connect method.

- Cleanup: Simplified SMTPProtocol.connection_made, __main__

1.0.2

-----

- Bugfix: Close connection lock on on SMTPServerDisconnected

- Feature: Added cert_bundle argument to connection init, connect and starttls
methods

- Bugfix: Disconnected clients would raise SMTPResponseException: (-1 ...)
instead of SMTPServerDisconnected

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.