How to send EMAIL from Data Stage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
abha.kalra
Participant
Posts: 37
Joined: Fri Oct 21, 2005 4:09 am

How to send EMAIL from Data Stage

Post by abha.kalra »

Hi
i m using notification activity to send email from data stage .
while doing this
i m giving in notification TAB
SMTP server name as our server name, and all the other values listed there.
But i m not able to get the output . my job is getting aborted and the warning message is :-

EMAIL..JobControl (DSSendMail): Error when executing command: C:\Ascential\DataStage\Projects\myproject\sendmail_EMAIL.bat
*** Output from command was: ***
SMTPMail Looking up server...
SMTPMail Opening connection to <my server name>...
SMTPMail Unknown failure!
SMTPMail Error in trying to connect
SMTPMail Network error 10060

Please check any paths in the following command file are correct, and if necessary adjust the 'dssendmail_template.txt' file in the project directory.

Contents of command file:
C:\Ascential\DataStage\Engine\bin\dssmtpmail.exe -file sendmail_EMAIL_file.tmp

can u please help me out in this. do i need to do any other settings.
Thanks and Regards
Abha
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Looks like you have entered the wrong server name where ever the SMTP batch resides.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
sb_akarmarkar
Participant
Posts: 232
Joined: Fri Sep 30, 2005 4:52 am
Contact:

Post by sb_akarmarkar »

Hi,

Looks like you modify dssendmail_template.txt file.

Copy dssendmail_template.txt from template to project->project_name folder dont change anything in file dssendmail_template.txt . It will work..

Thanks,
Anupam
akarmarkar@smart-bridge.co.in
Post Reply