refine script

This commit is contained in:
holger krekel 2023-10-15 19:14:18 +02:00
parent a61f1fbf39
commit ade18aab7b
No known key found for this signature in database
GPG Key ID: 8E3B03A279B772D6

View File

@ -8,4 +8,7 @@ print("connecting")
conn = imaplib.IMAP4_SSL(domain)
print("logging in")
conn.login(f"measure{time.time()}", "pass")
print(conn.capability())
status, res = conn.capability()
for capa in sorted(res[0].decode().split()):
print(capa)