any recommendation plz
below is the file contents of dssendmail_template.txt
*** This template file is used by the BASIC routine DSSendMail() to decide
*** how to call the local command-line program that actually sends mail.
*
* (Actually, 2 file names are recognized, to allow for local customization that
* survives a DataStage re-install. This basic template file will be used -
* named "dssendmail_template.txt" ,unless a file named just "dssendmail.txt"
* is present, when that is used instead.)
*
* The file can have up to 2 sections:
* 1. File section (optional)
* Declares what lines are to be created in a temporary file to pass to the command.
* Declared by the presence of <file> and </file> lines. If these are present,
* all lines between them are token-expanded, then written out to a temporary
* file in the current directory, whose name is generated from the current
* job name (to avoid clashes).
* 2. Command section (mandatory)
* Defines exactly what command is to be run.
* All lines of the template outside of <file> and </file>, and not including
* any comment lines (starting with * or /*) are token-expanded, then written
* out to a separate temporary file, which is then executed. Note that any
* %file% token is substituted with the name used for section 1.
*
* Tokens are recognized in the template, as follows:
* %from%, %to%, %server%, will be substituted from the DSSendMail routine parameters
* %subject%, %body% ditto
* (Note that any attached files passed to DSSendMail will
* be encoded into the body and so don't appear here.
* DSSendMail also inserts any necessary blank line at the
* start of text, so the template does not need to specify it.)
* %report%, replaced by report on current job
* %file% replaced by name of temporary file created in the
* <file> section, which must exist (command section only)
* %dsdir% will be replaced with the full path of the
* DataStage Server Engine installation directory.
*
* On Windows NT to run "dssmtpmail.exe", the template looks like this:
<file>
From:
hussini82@yahoo.com
To:
hussini82@yahoo.com
Subject: Hi ya
Server: smtp.mail.yahoo.com
</file>
%dsdir%\bin\dssmtpmail.exe -file %file%
*
* On Windows NT to run "sendmail.exe", the template might look like this:
<file>
test
</file>
%dsdir%\bin\sendmail.exe -f
hussini82@yahoo.com -t
hussini82@yahoo.com -s Hi ya -b %file% -m smtp.mail.yahoo.com
*
* On Windows NT to run "blat.exe", it might look like this:
* <file>
* %body%
* </file>
* blat.exe %file% -raw -f %from% -t %to% -s "%subject%" -server %server%
*
* On UNIX to run sendmail, the template might look like this (doesn't require a <file> section):
* #! /bin/sh
* /usr/lib/sendmail -t <<////
* From: %from%
* To: %to%
* Subject: %subject%
* %body%
* ////