
			< SMTP mail delivery agent >

Version      :	1.9
Release type :	Gnu Public License	http://www.gnu.org
Date         :	25-05-2001
Project by   :	"Davide Libenzi"	davidel@xmailserver.org	http://www.xmailserver.org/davide.html
Contrib by   :	



History    :
Date 17-01-2000
	Initial Revision
Date 03-02-2000
	Bug fixes
Date 03-03-2000
	Real DLL build has been added.
	Bug fixes.
Date 12-06-2000		1.5
	The ability to send messages as html has been added.
Date 26-06-2000		1.6
	SMTP client authentication has been added.
Date 05-04-2001		1.7
	CRAM-MD5 SMTP authentication bug fixed.
Date 25-05-2001		1.8
	Fixed a bug in MIME message file encoding.
Date 15-06-2001		1.9
	Bug fixes.









	This software can be used either as command line executable or as DLL loaded 
	by a LoadLibrary() - GetProcAddress().

	Use : SndMail  -bsfr  [-DXPFcERSa]

	-b file            Set mail body filename
	-s subject         Set mail Subject
	-f from            Set mail From
	-r rcpt            Add mail Rcpt
	-H                 Treat body file as html
	-D domain          Set HELO domain { SndMail }
	-X server          Set SMTP server { localhost }
	-P port            Set SMTP port { 25 }
	-F formext         Set extended From { from }
	-R reply           Set Reply-To { void }
	-S sender          Set Sender { void }
	-c cc              Add Cc { void }
	-t tag             Add mail tag ( Ie. \"TagName: TagValue\" )
	-a atchfile        Add attach file { void }
	-h auth            Set auth type ( PLAIN LOGIN CRAM-MD5 ) { void }
	-u user            Set user name for auth { void }
	-p password        Set password ( or CRAM-MD5 secret ) for auth { void }


	To use SndMail as DLL :

	1) Call LoadLibrary()
	2) Call GetProcAddress() for all functions You need to use
	3) Call USmtpLibOpen()

	4) Call USmtpArgsSendMail() or build a MailSendData structure and call USmtpSendMail()
	or
	4) Call USmtpCmdLineSendMail() ( note that the first parameter must be a dummy value, ie: SndMail )

	5) USmtpLibClose()
	6) Call FreeLibrary()

	Look at the sources for more info.


