summary refs log tree commit diff
path: root/tests/handlers/test_send_email.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add missing type hints to tests.handlers. (#14680)Patrick Cloke2022-12-161-11/+18
| | | And do not allow untyped defs in tests.handlers.
* Support Implicit TLS for sending emails (#13317)Jan Schär2022-07-251-1/+56
| | | | | | | | | | Previously, TLS could only be used with STARTTLS. Add a new option `force_tls`, where TLS is used from the start. Implicit TLS is recommended over STARTLS, see https://datatracker.ietf.org/doc/html/rfc8314 Fixes #8046. Signed-off-by: Jan Schär <jan@jschaer.ch>
* Fix incompatibility with Twisted < 21. (#10713)Richard van der Hoff2021-08-271-0/+112
Turns out that the functionality added in #10546 to skip TLS was incompatible with older Twisted versions, so we need to be a bit more inventive. Also, add a test to (hopefully) not break this in future. Sadly, testing TLS is really hard.