Send Mail Program
The Send Mail program (CDSMAIL.EXE) is used to support the batch/job step type - send mail. This feature of the scheduler allows you to insert the sending of email messages and attachments at any location in your batch stream definition.
The Send Mail program requires an SMTP email server which supports the operation of sending mail. You must use the menu/configure option to enter the SMTP server settings for your specific site/installation.
Configuring the Send Mail program for operation
To begin, install the batch scheduler agent on the computer you want to use to run this program. Each Batch Scheduler - Agent installation must have a copy of CDSMAIL.EXE installed in order to use this feature.
To configure the Send Mail program, you must manually run the program CDSMAIL.EXE located in the batch scheduler installation folder and enter the required configuration parameter settings.
When you start the Send Mail program, you should see the following screen displayed:

Using the mouse, choose the Configure/Settings menu option. You should see the following screen displayed:

Adding an email step to a Batch Definition
Use the Manager program to edit and checkout a batch definition. On the Job Steps tab, use the menu option Job/Add Step/Send Email to add Send Email steps to you batch stream.
Using the Send Mail program interactively
When you run the Send Mail program without command line parameters, the program opens in interactive mode and you may compose and send email messages using this screen. Just enter your recipient(s), subject, message and any attachment(s), then click Send.
Send Mail - Command line parameters
CDSMAIL.EXE RECIPIENT-LIST SUBJECT MESSAGE ATTACHMENT-LIST [/INTERACT]
RECIPIENT-LIST (required)
List of valid email addresses that the email will be sent to. Use a semicolon ; to delimit multiple email addresses.
SUBJECT (required)
Message subject line
MESSAGE (required)
Message body text
ATTACHMENT-LIST (optional)
List of attachment files. Use a semicolon ; to delimit multiple attachment file names.
/INTERACT (optional)
Forces the Send Mail program to open in interactive mode, even when all command line parameters have been supplied.
Example:
CDSMAIL.EXE "Recipient1@abc.com;Recipient2@abc.com" "Subject text" "Message Body" "Attach1.txt;Attach2.txt"
Index
Home