How to send mail to multiple recipient

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ambasta
Participant
Posts: 93
Joined: Thu Jan 19, 2006 10:29 pm
Location: Bangalore

How to send mail to multiple recipient

Post by ambasta »

Hi All,
I have one requirement where i have to send mails to many recipient.I m using Send mail Activity in job sequence...I m not sure what the delimiter should be..every time it is givng some error..I m able to send mail to one recipient but not more than one..how do i go about it.Please help.

Error Message :

command: /sbapp01/apps/dsadm/Ascential/DataStage/Projects/GWM_DEV/sendmail_Dummy_Job1_Seq56881_18655.sh
*** No output from command ***
The following parameters in the call to DSSendMail were not mentioned in the file 'dssendmail_template.txt': server,
ambasta
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

I don't think there has to be any delimiter but try using brackets:

Code: Select all

<test1@mail.com> <test2@mail.com>
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
ambasta
Participant
Posts: 93
Joined: Thu Jan 19, 2006 10:29 pm
Location: Bangalore

Post by ambasta »

Thanks for the inputs..
I tried ..But it is not working...
ambasta
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

One option is to use a 'Distribution List' - one email address where the email automagically gets sent to several people.

Otherwise, the actual delimiter needed can change from system to system, so first thing to try is either a space or a comma. And when you try the comma, make sure there is no space between them as well - just the comma. So try:

Code: Select all

aaaa@bbbb dddd@bbbb
aaaa@bbbb,dddd@bbbb
One of the two should work, I would think.
-craig

"You can never have too many knives" -- Logan Nine Fingers
say2prabhu1
Participant
Posts: 27
Joined: Mon Jul 09, 2007 1:06 am

Post by say2prabhu1 »

The same requirement is there in our system.Just try with comma,it should work in abc@mail.com,cde@mail.com in receipients email address in notification tab.

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

Post by ray.wurlod »

The delimiter character actually depends on the requirements of your SMTP mail client.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply