setting CC in notification(mail) activity

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
sajidkp
Participant
Posts: 114
Joined: Thu Apr 30, 2009 12:17 am
Location: New Delhi

setting CC in notification(mail) activity

Post by sajidkp »

Hi,

Is there any way to put cc in recipient address in mail activity? I can see only recipient email address which is "To" only.
Regards,
Sajid KP
Jasti
Participant
Posts: 44
Joined: Sat Apr 14, 2007 6:34 am
Location: Hyderabad, India

Post by Jasti »

Hi Sajid,
You can use comma(",") after the first email-id and add another id to that in "To" itself. There is no CC option available.
Thanks,
Mohan.A.Jasti.
sajidkp
Participant
Posts: 114
Joined: Thu Apr 30, 2009 12:17 am
Location: New Delhi

Post by sajidkp »

That is ok . i can add n number of To: address but . for some specific recipients that should be CC: not To:. Is there any work around in DS to achieve this?
Regards,
Sajid KP
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not using that stage. You could, however, write your own script/wrapper to send the email in any fashion that you like. Check the DSSendMailTester routine as well for ideas.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sajidkp
Participant
Posts: 114
Joined: Thu Apr 30, 2009 12:17 am
Location: New Delhi

Post by sajidkp »

Ok i will try that. thank you
Regards,
Sajid KP
Jasti
Participant
Posts: 44
Joined: Sat Apr 14, 2007 6:34 am
Location: Hyderabad, India

Post by Jasti »

Hi,
I have added CcAddress to the arguments of DSSendMailTester routine and changed the code accordingly..but DSSendMail(which will be called from DSSendMailTester) is not accepting it.
Please test it from your end.. I might be wrong some where.. :(
Thanks,
Mohan.A.Jasti.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Workaround might be to send to a list address that redistributes the email appropriately.
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