Skip to content

Instantly share code, notes, and snippets.

@Anthonybelui
Anthonybelui / socksimap0.2.py
Last active June 1, 2024 10:10
Python (v2 - v3) - IMAP through SOCKS proxy using PySocks module (UPDATE 20/02/2023)
import ssl
import socks
from imaplib import IMAP4
from imaplib import IMAP4_PORT
from imaplib import IMAP4_SSL_PORT
__author__ = "sstevan" # update 0.2 Tony
__license__ = "GPLv3"