Error while sending mail.

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
major
Premium Member
Premium Member
Posts: 167
Joined: Mon Nov 26, 2007 12:21 am

Error while sending mail.

Post by major »

I am getting the below error. This is working in dev region but is not working in another region. The SMTP server used here is working fine for other jobs. Please guide

--------------------------------------
##..JobControl (DSSendMail): Error when executing command: Project/sendmail_##.sh
*** No output from command ***
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.

Contents of command file:
#! /bin/sh
/usr/lib/sendmail -t <<////
From:
To:
Subject:
Content-Type: multipart/mixed; boundary=Unique-Boundary-15685-50661

This is a MIME encoded message.

--Unique-Boundary-15685-50661
Content-Type: application/octet-stream; name="###.csv"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="###.csv"


#########

...(file truncated)...


###..JobControl (@Success_mail): Routine DSSendMail did not finish OK, return code = '-21'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What's different between dev region and other region? "Nothing" is not the correct answer.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
major
Premium Member
Premium Member
Posts: 167
Joined: Mon Nov 26, 2007 12:21 am

Post by major »

The issue is resolved now.

there is an extra orphan word sneaked into the email to list.
We have removed that word and the sequence is running fine now

Regards
Post Reply