sending and reading emails using TELNET (command prompt)

Contributor Icon Contributed by mikejc Date Icon December 21, 2004  
Tag Icon Tagged: Windows networking

You can use TELNET to connect to your mailserver


command syntax

user: identifies the username
pass: issues the password
stat: gets the mailbox statistics
list: lists the mails in the mailbox
retr x: retrieves mail #x from the list above
dele x: marks mail #x from the list
top x y: retrieves the first y lines of mail #x (for example top 2 400 will get the first 400 lines of mail #2)
rset: reset the mailbox state and undelete any mails that were marked for deletion in the current session
noop: this does nothing, just a command usually used to keep the connection alive while you sip your coffee
quit: quit the server, delete all mails that were marked for deletion and say bye

1. click START and RUN
2. type COMMAND
3. type TELNET mail.yahoo.com 110 (default port for POP3)
4. Type ur USERNAME AND PASSWORD
5. use the command syntax above when connected

hope it works.

Previous recipe | Next recipe |
 
  • Anonnymus
    it doesn't work...gives an error "Could not open connection...."
  • amarnath
    i'm getting an error "connect failed"
blog comments powered by Disqus