Skip to content

Instantly share code, notes, and snippets.

@granbom
Created March 6, 2018 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 user@example.com 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