Page 1 of 1

How to send mail to multiple recipient

Posted: Tue Sep 18, 2007 2:09 pm
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,

Posted: Tue Sep 18, 2007 3:33 pm
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>

Posted: Tue Sep 18, 2007 4:18 pm
by ambasta
Thanks for the inputs..
I tried ..But it is not working...

Posted: Tue Sep 18, 2007 5:54 pm
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.

Posted: Tue Sep 18, 2007 6:24 pm
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

Posted: Tue Sep 18, 2007 6:47 pm
by ray.wurlod
The delimiter character actually depends on the requirements of your SMTP mail client.