Last active
May 30, 2019 07:24
-
-
Save sergeyklay/831cc535f403c29f721fe14230db71d4 to your computer and use it in GitHub Desktop.
Playing with Gmail via Telnet
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
$ telnet-ssl -z ssl imap.gmail.com 993 | |
Trying 173.194.222.109... | |
Connected to gmail-imap.l.google.com. | |
Escape character is '^]'. | |
* OK Gimap ready for requests from 193.201.216.169 z8mb75199760ljk | |
a1 LOGIN [email protected] my-password-here | |
* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 | |
a1 OK [email protected] authenticated (Success) | |
a2 LIST "" "*" | |
* LIST (\HasNoChildren) "/" "INBOX" | |
* LIST (\HasChildren \Noselect) "/" "[Gmail]" | |
* LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail" | |
* LIST (\HasNoChildren \Important) "/" "[Gmail]/Important" | |
* LIST (\HasNoChildren \Sent) "/" "[Gmail]/Sent Mail" | |
* LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam" | |
* LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Starred" | |
* LIST (\HasNoChildren \Trash) "/" "[Gmail]/Trash" | |
a2 OK Success | |
a3 EXAMINE INBOX | |
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded $Junk $MDNSent $MailFlagBit0 $MailFlagBit1 $MailFlagBit2 $NotJunk $NotPhishing $Phishing $label1 $label2 $label5 Junk JunkRecorded NOTJUNK NonJunk) | |
* OK [PERMANENTFLAGS ()] Flags permitted. | |
* OK [UIDVALIDITY 594577760] UIDs valid. | |
* 14 EXISTS | |
* 0 RECENT | |
* OK [UIDNEXT 50696] Predicted next UID. | |
* OK [HIGHESTMODSEQ 8519573] | |
a3 OK [READ-ONLY] INBOX selected. (Success) | |
a4 FETCH 14 BODY[] | |
* 14 FETCH (BODY[] {34114} | |
Delivered-To: [email protected] | |
Received: by 2002:ab3:6e8b:0:0:0:0:0 with SMTP id d11csp7156349ltp; | |
Tue, 28 May 2019 04:19:38 -0700 (PDT) | |
From: LinkedIn <[email protected]> | |
Message-ID: <1584975710.10918425.1559042376984.JavaMail.app@lva1-app9047.prod.linkedin.com> | |
... | |
... | |
... | |
------=_Part_10918423_837066323.1559042376980 | |
Content-Type: text/plain;charset=UTF-8 | |
Content-Transfer-Encoding: quoted-printable | |
Content-ID: text-body | |
XXXXXXXXXX, see how well your profile stands out from the crowd. | |
------=_Part_10918423_837066323.1559042376980-- | |
) | |
a4 OK Success | |
a5 LOGOUT | |
* BYE LOGOUT Requested | |
a5 OK 73 good day (Success) | |
Connection closed by foreign host. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment