Skip to content

Instantly share code, notes, and snippets.

@lee-pai-long
Last active January 20, 2016 17:59
Show Gist options
  • Save lee-pai-long/d2704659d9458eb818db to your computer and use it in GitHub Desktop.
Save lee-pai-long/d2704659d9458eb818db to your computer and use it in GitHub Desktop.

[TELNET] POP3

Connection on the server

$ telnet <servername_or_ip> <port>

(Default port : 110)

Authentification

> USER  <login>
> PASS <password>

Get number and size of messages

> STAT

List all messages

> LIST

View a message

> RETR <msg>

Telnet logging must be activated on the server

View n line of a message

> TOP <msg> <n>

Get a message unique identifier

> UIDL <msg>

Delete a message

> DELE <msg>

the message is deleted after the QUIT command

Cancel the delete

> RSET

Quit

> QUIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment