
AutoMailer Freeware 1.4
-----------------------


First make sure you've downloaded most recent release from our
website: http:/www.duodata.de/automailer/ 


New in this release:

1.4.8   14/05/2010
        Beeper added.
		
1.4.7   02/01/2007
        Timeout option added.

1.4.5   03/28/2004
        Improved internal error handling and logging.
        Revised ZIP functions (requires ZipDll.DLL v1.6.0.18).
        Does no longer use 99% CPU time on very fast networks.
        Fixed some bugs.
                
1.4.4   02/20/2004
        Wildcard selection changed/fixed.
        (e.g. mask "*.14?" found file xxxxxxxxxxx.14 as well)

1.4.3a  01/15/2004
        TrayIcon missing on auto start in service mode fixed

1.4.3   01/15/2004
        New command line switch "-service" allows the
        AutoMailer to be run as a NT service with service
        wrappers like NT Wrapper. NT Wrapper is available
        at http://www.duodata.de/ntwrapper/. 
	New MIME engine. Auto-encoding of extended characters
	in message text and header lines. Default encoding
	is quoted-printable.
	Option 'Append file names' fixed.
	Order of file entries in the internal file list changed.
	Windows XP Themes support.

1.4.2   10/10/2003
        The archive bit wasn't cleared correctly.
        Password is saved encrypted now, so you must
        reenter the password if you use a INI from previous
        versions.         

1.4.1   09/25/2003
        Fixed a problem with saving mail message text.

1.4.0   08/05/2003
	SMTP authentication, smart auto detection
	of SMTP autentication types.
	Settings from INI file and Body.txt are loaded each
	time before a mailing starts.
	Message lines are wrapped after 76 characters.
	Header lines To, Cc, and Bcc are folded now.
	Subject line length was limited to 998 characters.
	File selection changed.
	Timer setup improved.
	Install/Uninstall support.	
	
1.3.3	05/26/2002
	Added Mime-Type support, adjustable in automail.ini.
	I/O Error 103 hopefully fixed.

1.3.1   Fixed possible crashes with "Pop3 before Smtp"
	authentication when no DNS server was found.

1.3.0	"Pop3 before Smtp" authentication
	

1.2.1	Bugfix (Bcc and Cc)

1.2.0 	Single attachment mode (single e-mails for each file)	
	Exlude or send only files with certain extentions	
	Cc and Bcc support	
	Run once then exit	
	Messagebody now will be loaded from and saved to a
	plain text-file (body.txt)	
	Enhanced logging 

1.1.0 ZIP compression added, minor bugfixes

1.0.1 International charset support added



Description
-----------

AutoMailer automatically dispatches files as e-mail attachments.
The files you want to send have to be stored in a single directory
on your hard drive. AutoMailer periodically polls that directory
and sends the files as to the criteria that you specified.

All you need is a TCP/IP connection to a standard (relaying) SMTP
mailserver. Most e-mail servers require authentication before
you are allowed to send (and relay) mail.
AutoMailer supports SMTP CRAM-MD5, SMTP LOGIN, SMTP PLAIN and
POP3 before SMTP authentication types.

In order to run AutoMailer as a NT service try a service wrapper
like our NT Wrapper available at: http://www.duodata.de/ntwrapper.
The command line switch -SERVICE tells AutoMailer to not terminate
when the user logs off when it runs in a wrapper.

If you want to run a AutoMailer as a real NT-Service,
take a look at AutoMailer NT: http://www.duodata.de/amlnt.
There is a 30 days trial version available.



INSTALLATION
------------

1.) Unzip the package to any directory and run amlsetup.exe.


On NT4/W2K computers it is *VERY IMPORTANT* to grant AutoMailer-Users
write access to:

a.) AutoMailer's directory including all subdirectories.
b.) Directories and files that you want to send.

2. Start AutoMailer


3. CONFIGURE AutoMailer

Use application's GUI or modify file automail.ini:

Mail Host		= IP or DNS name of your SMTP server (i.e. mail.yahoo.com)

Port			= Standard Port is 25

Authentication		= Authentication types (0=None, 1=POP3 before SMTP, 2=SMTP LOGIN)

User			= Username/Account

Pwd			= Password / or APOP secret

// POP3 before SMTP configuration 

Pop Host		= IP or DNS name of your POP3 server to log on			  

Pop Port		= Standard port is 110

APOP			= Enable APOP for "POP3 before SMTP" authentication 


// + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +


From			= From Address - required (i.e. myname@yahoo.com)

To			= Valid destination e-mail address - required

Cc			= Carbon copy, semicolon separated list
		  	  (i.e. first@berlin.de;second@berlin.de)

Bcc			= Blind carbon copy, semicolon separated list
		  	  (i.e. first@berlin.de;second@berlin.de)

Subject			= optional

Message			= optional
		  	  Message text is loaded from and saved to a
		  	  plain text-file (body.txt) (doubleclick the
		  	  edit-field to zoom in) 
		   
Charset			= Set of characters 

PollInterval		= Timer interval - required
TimeUnit                = Either S, M or H. S=seconds, M=minutes, H=hours  

StartInTimerMode	= Starts the timer when program is launched 

RunOnceExit		= Run a single loop then quit the program.
		          It's usefull for scheduler/taskplaner
		  	  PollOnStartup must be checked as well in order
		  	  this feature is working.

PollDir			= Full path to a directory containing the files to be sent.
		  
FileSelection           = *.txt;mylog.txt;*.wa?;img10?.bmp

Logging			= Standard logging to (progdir\automail.log) - may be set

Verbose (logging) 	= Be carefull with this option log file would grow rapidly and
			  and may decrease performance, should be enabled for debugging
			  porpurses only.

Backup			= Mailed files will be copied to a subdirectory Backup of PollDir
		  
ZipCompression  	= Files will be compressed to ZIP archives                  	  

Delete 			= Mailed files will be deleted if enabled!!

Archive			= If enabled only new or modified files are sent.
 		  	  NOTE THAT AUTOMAILER CLEARS THE ARCHIVE-BIT AFTER THE
		  	  FILE HAS BEEN SENT SUCCESSFULLY.

SingleFilePerMail 	= Sends one e-mail for each file.   

AppendFileNames		= Appends file names of attached files to the bottom
                          of the e-mail message.
                          
ZIPFileName             = File name **without path** used when all files are sent in one mail             




FOR EXAMPLE
-----------
1) You are running a fax program that stores incomming faxes in 
AutoMailer's PollDir. If option Archive is set to 0, all fax files
will be mailed each time AutoMailer polls.
If Archive is set to 1, only new or modified faxes are sent. 

2) You are running a program that stores log files in AutoMailer's
PollDir. Logfiles are usually modified from time to time.
Set option Archive to 1 and option Delete to 0.


KNOWN ISSUES
------------
Some uses reported that AutoMailer may freeze or slow down
dramatically with some anti-virus tools like Norton AV.
In this case you should try to disable live protection of
the Poll Directory or disable live protection at all. 


Support
-------
Before requesting support at support@duodata.de please:

Run AutoMailer in "Verbose logging" mode.
Append (error) section from your log file to your request.
Please do not attach very large logfiles.
Attach your "automail.ini" as well.


Error Codes
-----------

AutoMailer's SMTP Request Types:

Rq 0  = connecting to SMTP Server
Rq 1  = Helo
Rq 10 = Ehlo
Rq 2  = MailFrom
Rq 3  = Vrfy 
Rq 4  = Rcpt (recipients)
Rq 5  = Data
Rq 6  = Quit
Rq 7  = Rset 
Rq 11 = Auth


Winsocket Errors in Numerical Order:


(10004) Interrupted system call 

(10009) Bad file number 

(10013) Permission denied 

(10014) Bad address 

(10022) Invalid argument 

(10024) Too many open files 

(10035) Operation would block 

(10036) Operation now in progress 

(10037) Operation already in progress 

(10038) Socket operation on non-socket 

(10039) Destination address required 

(10040) Message too long 

(10041) Protocol wrong type for socket 

(10042) Bad protocol option 

(10043) Protocol not supported 

(10044) Socket type not supported 

(10045) Operation not supported on socket 

(10046) Protocol family not supported 

(10047) Address family not supported by protocol family 

(10048) Address already in use 

(10049) Can't assign requested address 

(10050) Network is down 

(10051) Network is unreachable 

(10052) Net dropped connection or reset 

(10053) Software caused connection abort 

(10054) Connection reset by peer 

(10055) No buffer space available 

(10056) Socket is already connected 

(10057) Socket is not connected 

(10058) Can't send after socket shutdown 

(10059) Too many references, can't splice 

(10060) Connection timed out 

(10061) Connection refused 

(10062) Too many levels of symbolic links 

(10063) File name too long 

(10064) Host is down 

(10065) No Route to Host 

(10066) Directory not empty 

(10067) Too many processes 

(10068) Too many users 

(10069) Disc Quota Exceeded 

(10070) Stale NFS file handle 

(10091) Network SubSystem is unavailable 

(10092) WINSOCK DLL Version out of range 

(10093) Successful WSASTARTUP not yet performed 

(10071) Too many levels of remote in path 

(11001) Host not found 

(11002) Non-Authoritative Host not found 

(11003) Non-Recoverable errors: FORMERR, REFUSED, NOTIMP 

(11004)* Valid name, no data record of requested type 

(11004)* No address, look for MX record 



AutoMailer uses Eric W. Engler's ZipDll.DLL
The source code available at:  
http://www.geocities.com/SiliconValley/Orchard/8607/
Eric W. Engler's DLL is a derrivitive of the work of the
Info-Zip group: http://www.cdrom.com/pub/infozip/


Enjoy!

Copyright (C) 2000 - 2004 Arno Garrels DuoData Software  All Rights Reserved.


