Skip to content

Instantly share code, notes, and snippets.

@le0pard
Created September 22, 2015 20:23
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 le0pard/b7cd19c72c1b4a659981 to your computer and use it in GitHub Desktop.
Save le0pard/b7cd19c72c1b4a659981 to your computer and use it in GitHub Desktop.
pop3 telnet
telnet ruby-2.2.0
telnet> toggle crlf
Will send carriage returns as telnet <CR><LF>.
telnet> open mailtrap.io 1100
Trying 54.164.81.148...
Connected to mailtrap.io.
Escape character is '^]'.
+OK POP3 ready <190442990.1442953303@mailtrap.io>
USER ***
+OK
PASS ***
+OK maildrop locked and ready
LIST
+OK 50 messages (4192565 octets)
1 14181
2 127
3 127
4 127
5 127
6 129
7 127
8 127
9 793
10 1349
11 127
12 127
13 127
14 127
15 127
16 3408
17 127
18 127
19 127
20 127
21 505
22 504
23 127
24 127
25 127
26 127
27 127
28 287821
29 388410
30 540365
31 481542
32 401467
33 619084
34 1061
35 9976
36 132
37 132
38 132
39 132
40 818
41 132
42 1211540
43 223060
44 132
45 306
46 520
47 514
48 874
49 874
50 132
.
RETR 2
+OK 127 octets
From: Private Person <from@mailtrap.io>
To: A Test User <to@mailtrap.io>
Subject: Hello world!
This is a test e-mail message.
.
quit
+OK Bye
Connection closed by foreign host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment