(From http://www.anta.net/misc/telnet-troubleshooting/imap.shtml)
openssl s_client -connect _hostname_:993 -quiet
a1 LOGIN MyUsername MyPassword
a2 LIST "" "*"
a3 EXAMINE INBOX
a4 FETCH 1 BODY[]
a5 LOGOUT
(From http://www.anta.net/misc/telnet-troubleshooting/imap.shtml)
openssl s_client -connect _hostname_:993 -quiet
a1 LOGIN MyUsername MyPassword
a2 LIST "" "*"
a3 EXAMINE INBOX
a4 FETCH 1 BODY[]
a5 LOGOUT