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. It is compatible for Windows 95, 98, Me, NT, 2000, XP, 2003 and Vista.
As u can see below, it has 3 option:
- DeleteFromServer - Specifies if messages should be deleted from the server after they have been received
- OnlyDownloadOnce - Specifies if messages are to be downloaded only once. If messages are kept on the server (DeleteFromServer is set to false) and you only want to download new messages set this flag to true
- SaveMessagesDirectory - Specifies where the downloaded messages will be saved. Messages will be saved as plaintext. The filenames will be named by the message subject and a unique identifier. Leave it empty to download e-mails to the default direcotry called 'received' and is normally located at 'c:\program files\command line pop client\received\'.
Here, as an example, its my scripty which I often use in conjuction with AHK for chekin gawab:
pop3=pop.gawab.com smtp=smtp.gawab.com [email protected] password_email=secretpassword dir_emails=D:\Downloads\emails\ ;--------- email_config=D:\Email Downloads\email_config.xml popclient=c:\Program Files\Command Line POP Client 1.01\popclient.exe ;-------- [color=red];if u havent already %email_config% dir SplitPath,email_config,,dir FileCreateDir, %dir% [/color]IfNotExist %dir_emails%%username_email% FileCreateDir, %dir_emails%%username_email% mail= ( <?xml version="1.0" encoding="UTF-8"?> <ConfigData> <Server>%pop3%</Server> <Port>110</Port> <Username>%username_email%</Username> <Password>%password_email%</Password> <SaveMessagesDirectory>%dir_emails%%username_email%</SaveMessagesDirectory> <DeleteFromServer>false</DeleteFromServer> <OnlyDownloadOnce>false</OnlyDownloadOnce> </ConfigData> ) filedelete %email_config% fileappend, %mail%, %email_config% runwait, %popclient% -configfile %email_config%,,min
Fast, quiet, simple and reliable.