Skip to content

Instantly share code, notes, and snippets.

@granbom
Created March 6, 2018 02:39
Show Gist options
  • Save granbom/8aa5ba604ee5e110bf998c88ffb84808 to your computer and use it in GitHub Desktop.
Save granbom/8aa5ba604ee5e110bf998c88ffb84808 to your computer and use it in GitHub Desktop.
IMAP test with openssl
openssl s_client -crlf -connect example.com:993
tag login [email protected] password
tag LIST "" "*"
tag SELECT INBOX
tag STATUS INBOX (MESSAGES)
tag FETCH x:y (BODY[HEADER])
tag FETCH y (BODY)
tag FETCH y (BODY[n])
tag LOGOUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment