Using DSSendMail

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
nilotpalr
Participant
Posts: 29
Joined: Tue Dec 10, 2002 2:54 am

Using DSSendMail

Post by nilotpalr »

How do I send mail to multiple recipients using DSSendMail. I am building my TO ADDRESS String as follows:
strToAddress = "skaushik@abc.com" : " ; " : "nroy@abc.com" : " ; " : "vgupta@abc.com" : " ; " : "sghosh@xavient.com"

But this is sending the mail to only the first recipient i.e skaushik@abc.com.
Where am I going wrong??
Thanks in advance.
Nilotpal.
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

Hi Nilotpal,

those anglosaxons use the comma "," as field seperator, where we, "Rest of the World", use semicolon ";" as field seperator.

So try the comma!

Wolfgang
Post Reply