DSSend Mail Error

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
karry450
Participant
Posts: 201
Joined: Wed Nov 14, 2007 11:31 pm
Location: HYD

DSSend Mail Error

Post by karry450 »

Hi Friends,

Im trying to send a mail with attached of .csv format using Notification activity but when I run the job it fails with the below error can anyone help me please.


*** Output from command was: ***
/home/odsdev/dead.letter... Saved message in /home/odsdev/dead.letter

The following parameters in the call to DSSendMail were not mentioned in the file 'dssendmail_template.txt': server
Please check any paths in the following command file are correct, and if necessary adjust the 'dssendmail_template.txt' file in the project directory.


But when i see the dssendmail_template.txt I can see the parameters as
#! /bin/sh
/usr/lib/sendmail -t <<////
From: %from%
To: %to%
Subject: %subject%
%body%
////

can anyone help me if I missed anything

Thanks
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Mail usually ends up in dead.letter when it fails to be delivered. Check your recipient address.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not typically a DataStage thing. See if this helps. Lots of other resources out there, btw.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply