GBMailer for Windows 95/NT
August 1999 version 1.12

Author:
Goran Boban
gboban@cursor.hr
Home page: http://members.xoom.com/gboban/index.htm

Freeware.
Permition to freely use and distribute GBMailer version 1.12 is granted.



	1. Description
	--------------

GBMailer is command-line mailer wich will send an text file as mail.
It is written to be executed from CGI-scripts, but it can be ussed for 
any other purpose.

See history.txt for changes in this revision.

NOTE:	Be sure to read Bugs section (section 2.) of this readme file
	before mailing bug reports or questions about using GBMailer

USAGE:

gbmail [-v] -to <address list...> [-file <filename>] [-h <smtp.server.name>]
	[-p <port_number>] [-from <address>] [-cc <address list...>]
	[-bcc <address list>] [-s <Subject>] [-t <timeout>]


OPTIONS:

	-v	verbose output.

	-file	Name of text file to send as message body.
		(This is not required since version 1.12)

	-h	Name of SMTP server to connect. If this option is not set
		GBMailer will assume 'localhost'.

	-p	Port number for SMTP protocol. Port is set to 25 by default.

	-from	An optional e-mail ddress of sender. If not set GBMailer
		will try to assume an e-mail address by combinating name of
		current user and name of local machine.
		You should set this option in most cases.

	-to	REQUIRED	E-mail addres (or addresses) of recipient(s).
				At least one address must cast after -to switch.

	-cc	(carbon copy) E-mail addresses of recipients which will be listed
		in Cc: field.

	-bcc	(blind carbon copy) E-mail addresses of recipients which you don't
		want to be listed in message which will be sent.

	-s	Subject of message.

	-t	Timeout for socket operations (in seconds). Set to 300 secs by
		default.


EXAMPLE:

gbmail -file message.txt -h smtp.server.com -from me@my.machine.com -to you@your.machine.com -s "Hello there"


	2. Bugs
	-------

	Please send bug reports and sugestions to:

	gboban@cursor.hr

	IMPORTANT NOTE: When sending bug reports or questions on using GBMailer please
	be sure to include following information:

		- Program name (GBMailer in this case)
		- Program version (1.12)
		- OS you are using
		- Version of OS you are using (you can include build number and service
		pack number)
		- How did you invoke gbmail.exe (from command-line or from script, if
		from script please send me name of interpreter and version)
		- Problem you want to report

	You may include any other information you find relevant (or you think it may be
	relevant) for this problem.
	Also be sure to use correct e-mail address (in From: or Reply to: field) so I
	can send you answer.


