Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

6 Answers 6

up vote 4 down vote accepted

Check out this site http://www.blat.net/194/

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 mail...works 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 at 11:02

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

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

Connection to host lost.

C:\>
share|improve this answer

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

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

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

share|improve this answer

Heres one.. http://www.codeode.com/popclient/index.html

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

You could use these cmdlets for Powershell

http://www.nsoftware.com/powershell/

These are not free, however

share|improve this answer

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

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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.