============= AutoReader NT ============= Copyright 2001 DuoData Garrels & Geisler GbR, Berlin. Last Changes ============ 04/15/2003 v.1.0.3 When email had 1 attachment and no content the attachment wasn't decoded, fixed. 04/09/2003 v.1.0.2 Timeout problem fixed when the Pop3 server didn't response to AutoReaders's Quit command. 11/12/2001 v.1.0.1 Option DeleteMailOnServer added, note sample below. INSTALLATION ============ 1. Uninstall all previous versions 2. Unzip the ZIP package to any directory on your harddrive. 3. Run ardntsetup.exe, this will just extract the following files. autoreadernt.exe - the program autoreadernt.ini - ini-file (please modify!) readme.txt - this file license.txt 4. CONFIGURE autoreadernt.ini [SETUP] HostAddr=192.168.1.2 //IP or DNS name HostPort=110 //Default port=110 User=Username //POP3 user or account Pass=Password //Password/APOP secrect APop=NO //APOP authentication PollSec=30 //Timer, period in seconds to poll Subject=hallo //If not blank only attachments and bodies of mails with matching subject text will be extracted. MailFileExtension=txt //Define a file extension for downloaded e-mail files, length must be 3 chars long DeleteMailOnServer=YES //Delete or keep mail after a successfull transfer. Note!!: AutoReaderNT will download old e-mails again if this option is set to "NO". SysLog=YES //enables logging off POP3 and program messages MailLog=YES //enables logging for each mail fetched from the server DirLog=C:\ard\log\ //Logfile directory DirBody=C:\ard\body\ //Where extracted message text is stored DirAttach=C:\ard\attach\ //Where extracted attachments are stored DirMail=C:\ard\Mail\ //Where fetched e-mails are stored 4. INSTALL THE SERVICE At the command prompt, change to autoreadernt's directory and type: autoreadernt.exe /Install A - for installing service, startup automatically autoreadernt.exe /Install M - for installing service, startup manually autoreadernt.exe /Uninstall - for removing service 5. START THE SERVICE net start autoreadernt - to start service net stop autoreadernt - to stop service (or use Service Control Manager SCM) Note: There is a bug in W2K's SP1 SCM applet. If you uninstall a service while SCM applet is running the service might be displayed as "Marked for Deletion" and SCM's database might be locked. Reinstalling the service while it is still displayed as "Marked for Deletion" will fail. Therefore just close SCM applet or MMC and reinstall the service as usual. Naming Convention ================= yy : year mm : month dd : day ext : attachment's original file extension n1 : e-mail index (increment of 1) n2 : message index (increment of 1) n3 : attachment index (increment of 1) E-Mails : yymmdd_n1.txt Extracted messages : yymmdd_n1_n2.txt Extracted attachments : yymmdd_n1_n3.ext Note: If you want do delete old mails, attachments or messages you have to delete yesterday's or earlier files only. If you delete only some of today's files, file names would not be generated with a correctly incremented index "n".