File tree Expand file tree Collapse file tree 4 files changed +3
-14
lines changed Expand file tree Collapse file tree 4 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (c) 2014, Menno Smits
2
- # Released subject to the New BSD License
3
- # Please see http://en.wikipedia.org/wiki/BSD_licenses
4
-
5
1
from imapclient import IMAPClient
6
2
7
3
HOST = 'imap.host.com'
Original file line number Diff line number Diff line change 1
- # Open a connection in IDLE mode and wait for notifications from the server
1
+ # Open a connection in IDLE mode and wait for notifications from the
2
+ # server.
2
3
3
4
from imapclient import IMAPClient
4
5
Original file line number Diff line number Diff line change 1
- # Copyright (c) 2015, Menno Smits
2
- # Released subject to the New BSD License
3
- # Please see http://en.wikipedia.org/wiki/BSD_licenses
4
- #
5
1
# Establish a secure connection to a server that does not have a certificate
6
- # signed by a trusted authority.
2
+ # signed by a trusted certificate authority (CA) .
7
3
8
4
import ssl
9
5
Original file line number Diff line number Diff line change 1
- # Copyright (c) 2015, Menno Smits
2
- # Released subject to the New BSD License
3
- # Please see http://en.wikipedia.org/wiki/BSD_licenses
4
- #
5
1
# Establish an encrypted connection to a server without checking its
6
2
# certificate. This setup is insecure, DO NOT USE to connect to servers
7
3
# over the Internet.
You can’t perform that action at this time.
0 commit comments