
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.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.	
	A lot of invisible changes.
      

History

	
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. Some free 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.

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

In order to run AutoMailer as a "Fake NT-Service" could use our free
NT LAUNCHER SERVICE available at: http://www.duodata.de/ntlauncher.
AutoMailer won't run with service wrappers.

Also try Automailer XL Shareware: http://www.duodata.de/amlxl
as well as File Distribution Manager (FDM). FDM offers a lot more
features (FTP, Scheduler, File Groups and Recipient Groups)
Download a free 30 days trial version at: http://www.duodata.de/fdm. 


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 the 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 or 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 load 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			= Path to a single directory for AutoMailer to poll
		  

FileSelection           = *.txt;mylog.txt;*.wa?;img10?.bmp

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

Verbose (logging) 	= Be carefull with this option log file would grow rapidly and
			  and may decrease performance check it for debugging only

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

Delete 			= Mailed files will be deleted if enabled!!

Archive			= If it is enabled, only new or modified files are being 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 at the bottom
                          of the e-mail message.
                          
ZIPFileName             = File name without path used when all files are sent in one mail             


Combine file options "Backup", "Delete" and "Archive" to fit AutoMailer to your
individual requirements. 


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

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


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

Run AutoMailer in "Verbose logging" mode.
Append matching (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 = sending Helo
Rq 2 = sending Mail (From)
Rq 3 = sending Vrfy 
Rq 4 = sending Rcpt (recipients)
Rq 5 = sending Data
Rq 6 = sending Quit
Rq 7 = sending Rset 



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 



Portions of this program are based on:
Freeware Delphi Zip v1.52.
Source code available at  
http://www.geocities.com/SiliconValley/Orchard/8607/
and
Info-Zip:   
Source code available at
ftp://ftp.freesoftware.com/pub/infozip/

Feel free to post your comments or bug reports to:
support@duodata.de

Enjoy!

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


