Skip to main content

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()

Metadata

Release files for socksimap 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for socksimap 1.0.1
File Size Uploaded
socksimap-1.0.1.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for socksimap 1.0.1
File Interpreter ABI Platform
socksimap-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / socksimap-1.0.1.tar.gz

Download URL socksimap-1.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
19efc33d809672710274c681eca470f1f607878645b94f9ed3f910cbea221954
BLAKE2b-256 checksum
How to use checksums
697372122f0a79170853414ccccc9f4b8a8636e0df954851e616f6610758cf0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / socksimap-1.0.1-py3-none-any.whl

Download URL socksimap-1.0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
622e047f2138770bb2d2296cbb6777c1928764f7bcf3eb8d355a9115e88bb859
BLAKE2b-256 checksum
How to use checksums
396ab40ac19975b1360c1f748c564b94e309837b8a0e76a9912d1bc598692864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page