This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from smtplib import SMTP, SMTP_SSL | |
from poplib import POP3, POP3_SSL | |
from imaplib import IMAP4, IMAP4_SSL | |
import argparse | |
def smtp(host, user, password): | |
tests = [SMTP(host), SMTP_SSL(host)] |