Command Line Control
Gammadyne Mailer can be controlled from the command line
(a.k.a. DOS prompt) to perform various tasks, including:
- Run a send or receive operation.
- Add or remove recipients from the mailing list.
- Add email addresses to the Exclusion List.
- Lookup a mail server (MX record).
Uses for the Command Line
Support for the command line allows the user to improve automation. For example:
- Windows Task Scheduler can automatically launch a command line on a schedule.
- By creating desktop shortcuts to command lines, routine tasks can be made as simple as a mouse click. When adding or removing a recipient, the email address can be acquired from the clipboard, or specified on the command line.
- Third party programs can launch a command line in order to control Gammadyne Mailer.
- Batch files can launch Gammadyne Mailer for a series of different send and receive operations.
Command Line Overrides
When performing a Send Operation, the following settings can be overridden
on the command line:
- From: header
- To: header
- Reply-To: header
- Subject: header
- CC: and BCC: headers
- Text Body filename
- HTML Body filename
- Mailing list location
- Database name/user/password
- Database table or SELECT statement
- Database WHERE clause
- Pre-Send Script
Pseudo-Projects
Command line mailings can also be initiated using a "Pseudo-Project",
which contains all the information needed to perform a mailing.
Pseudo-projects are plain ASCII text, which means they can be easily generated by another program or script.
Following an example of a pseudo-project:
From:foo@bar.com
Subject:Hello [[-FullName-]]
Expires:5/18/00 11:57:27a
Headers::
x-foo: bar
Organization: Gammadyne Corporation
@@done@@
HeaderCharset:ISO-8859-13
Recipients:
foo@bar.com
test@xxx.org
@@done@@
Exclusions::
foo2@bar.com
foo3@baz.com@@done@@
TextBody::
text body line 1
line 2
the end.@@done@@
TextBodyCharset:ISO-8859-2
TextBodyEncoding:2
LineLength:70
CanonData:1
CanonExtended:0
AutoInsertCID:1
Attachments::
[[if -Email- = "nix_a@foo.com"]] [[disregard]] [[endif]]
[[if -Index- = 1]]G:\G\System-G.txt[[endif]]
G:\G\*.log
@@done@@
DSN:1
DirectDelivery:1
DirectRetry:1
RecycleSocket:1
Database:Test
Table:Manifold Mail
RecipientColumn:email address
IdentityColumn:tid
OrderColumn:tid
SQLDateFormat:1
SentDateColumn:date sent
StoreSentDate:1
TrimData:1
FilterDate:5/17/00 2:52:14p
SMTPServerName:mail.gammadyne.com


