Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know of a client that I can use to access a pop3 mailbox via command line on windows? I need it to support downloading emails to a file and have SSL support. I would really like for it to be free too. Using my google-fu, I wasn't able to find an app that had all 3 of those features.

share|improve this question
up vote 6 down vote accepted

Check out this site

We use Blat for sending mail via command line and are very happy with it. The link has alot of info.

share|improve this answer
Thanks, but I'm looking for something to receive mail not send it. – ryeguy Jun 3 '09 at 18:10
My bad...but I think the link may mention GetMail for Windows. Its a cmd tool to automatically get only with Win. – cop1152 Jun 3 '09 at 18:42
Wow, getmail was what I was looking for. The reason getmail is good and the above suggestions did not work for me is because getmail has a headers-only download, which helps a lot. Thanks. – ryeguy Jun 3 '09 at 19:45
Awesome...hope it works out. I have found so many solutions to my daily problems here! Thanks everyone. – cop1152 Jun 3 '09 at 20:10
Does it really support SSL? It's not even mentioned anywhere in manual! @cop1152 – LogicDaemon Sep 15 '14 at 11:02

You could use the Command Line Pop Client in combination with the SSL wrapper Stunnel.

Command Line Pop Client

Command Line POP Client is a free console utility that allows you to receive your e-mails to a local directory. It is suitable for batch jobs or whenever there is a need to download e-mails as files into a folder. This mail receiver supports the POP3 protocol and is both robust and light weight. The settings are defined in an xml file.

This e-mail client is compatible for Windows 95, 98, Me, NT, 2000, XP and 2003.


Stunnel is a program that allows you to encrypt arbitrary TCP connections inside SSL (Secure Sockets Layer) available on both Unix and Windows. Stunnel can allow you to secure non-SSL aware daemons and protocols (like POP, IMAP, LDAP, etc) by having Stunnel provide the encryption, requiring no changes to the daemon's code.

The Stunnel source code is not a complete product -- you still require a functioning SSL library such as OpenSSL or SSLeay in order to compile stunnel. This means that stunnel can support whatever (and only) that which your SSL library can, without making any changes in the Stunnel code.

share|improve this answer

No SSL support, but i use it when i need to:

c:\>telnet 110
   +OK Hello there.
   >user iboyd
   +OK Password required.
   >pass xxxxxxxxx
   +OK Logged in.
   1 1924
   2 1915
   >retr 1
   Receive: from localhost ....
   >dele 1
   +OK Deleted
   +OK Bye-bye.

Connection to host lost.

share|improve this answer

you could use pine via cygwin; I've used that before.

share|improve this answer

You could use these cmdlets for Powershell

These are not free, however

share|improve this answer

Heres one..

share|improve this answer
Doesn't look like it supports SSL – Kevin Kuphal Jun 3 '09 at 16:41
Indeed, it does not. That was one of them I tried. – ryeguy Jun 3 '09 at 16:54

protected by Tom O'Connor Jan 9 '14 at 15:03

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.