Submit
Path:
~
/
/
proc
/
self
/
root
/
opt
/
plesk
/
python
/
3
/
lib
/
python3.10
/
site-packages
/
imapclient
/
examples
/
File Content:
tls_cacert.py
# Copyright (c) 2015, Menno Smits # Released subject to the New BSD License # Please see http://en.wikipedia.org/wiki/BSD_licenses from __future__ import unicode_literals import imapclient HOST = 'imap.host.com' USERNAME = 'someuser' PASSWORD = 'secret' context = imapclient.create_default_context(cafile="/path/to/cacert.pem") server = imapclient.IMAPClient(HOST, use_uid=True, ssl=True, ssl_context=context) server.login(USERNAME, PASSWORD) # ...
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
__pycache__
---
0755
example.py
874 bytes
0644
idle_example.py
713 bytes
0644
oauth2_example.py
451 bytes
0644
tls_cacert.py
453 bytes
0644
tls_no_checks.py
659 bytes
0644
N4ST4R_ID | Naxtarrr