Connect to IMAP through Socks
Project description
Connect to IMAP through Socks
Dependencies
- PySocks 1.7.1+
Installation
pip install socksimap
or
pip install git+https://github.com/optinsoft/socksimap.git
Usage
from socksimap import SocksIMAP4_SSL
email_address = 'YOUR_ACCOUNT@hotmail.com'
password = 'YOUR_PASSWORD'
imap_server = 'outlook.office365.com'
imap_port = 993
socks_addr = '127.0.0.1'
socks_port = 1080
socks_type = 'socks5'
imap = SocksIMAP4_SSL(host=imap_server, port=imap_port, timeout=15,
proxy_addr=socks_addr, proxy_port=socks_port, proxy_type=socks_type)
imap.login(email_address, password)
imap.logout()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
socksimap-1.0.1.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file socksimap-1.0.1.tar.gz
.
File metadata
- Download URL: socksimap-1.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19efc33d809672710274c681eca470f1f607878645b94f9ed3f910cbea221954 |
|
MD5 | fb873c97bcbd5cc8018eae1b1f7d779b |
|
BLAKE2b-256 | 697372122f0a79170853414ccccc9f4b8a8636e0df954851e616f6610758cf0f |
File details
Details for the file socksimap-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: socksimap-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 622e047f2138770bb2d2296cbb6777c1928764f7bcf3eb8d355a9115e88bb859 |
|
MD5 | 7c6c677f24358434173bd22e6b149ec7 |
|
BLAKE2b-256 | 396ab40ac19975b1360c1f748c564b94e309837b8a0e76a9912d1bc598692864 |