python: use configured_mail_{port,security} when creating IMAPClient

Previously only TLS on port 993 was allowed.
This commit is contained in:
Alexander Krotov
2020-12-18 08:31:59 +03:00
committed by link2xt
parent 29991f1caf
commit bc67fa3204
2 changed files with 24 additions and 9 deletions

View File

@@ -145,6 +145,7 @@ def extract_defines(flags):
| DC_STR
| DC_CONTACT_ID
| DC_GCL
| DC_SOCKET
| DC_CHAT
| DC_PROVIDER
| DC_KEY_GEN