Difference between revisions of "Check IMAP and POP with OpenSSL"
Jump to navigation
Jump to search
Michael.mast (talk | contribs) |
Michael.mast (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Currently I have little understanding as to what I am looking at. More specifically I do not know what the "-crlf" in openssl does or how to find the rest of the flags fields for fetching messages. | ||
<pre> | <pre> | ||
openssl s_client -connect imap.gmail.com:993 -crlf | openssl s_client -connect imap.gmail.com:993 -crlf | ||
a login <username> <password> | a login <username> <password> | ||
− | + | a select inbox | |
+ | a FETCH 1 (FLAGS BODY[HEADER.FIELDS (subject)]) | ||
+ | a store 1 +flags /deleted | ||
+ | a expunge | ||
+ | a close | ||
+ | a logout | ||
</pre> | </pre> |
Revision as of 16:51, 13 May 2017
Currently I have little understanding as to what I am looking at. More specifically I do not know what the "-crlf" in openssl does or how to find the rest of the flags fields for fetching messages.
openssl s_client -connect imap.gmail.com:993 -crlf a login <username> <password> a select inbox a FETCH 1 (FLAGS BODY[HEADER.FIELDS (subject)]) a store 1 +flags /deleted a expunge a close a logout