Page 1 of 1
"cc" on an Email
Posted: Tue Nov 11, 2008 12:53 am
by tracy
I only saw one post on cc-ing, but there was no real response to it...
Is it possible to send an email and include a "cc" ? I need DataStage to send an email to another application that requires a "cc" in certain situations.
Posted: Tue Nov 11, 2008 1:05 am
by chulett
Sure, as long as your email client supports it. However, not via the Notification Activity, you'll need to code your own routine or script/batch file to accomplish that. Or perhaps by creating a "dssendmail" file with the proper command and tokens - see the "dssendmail_template" in any project directory for the gory details.
Posted: Wed Nov 12, 2008 6:17 pm
by tracy
Thanks, chulett.
I was already using DSSendMail which I believe through the dssendmail_template.txt was using dssmtpmail.exe. I tried seeing if I could get dssmtpmail.exe to accept a cc. But I couldn't find any documentation and none of my guesses worked so I gave up.
I eventually switched to blat and the cc did work. I hit the command line character limit while testing, so I'm a bit nervous about it (testing hopefully won't get that large). But it seems to be working.
Posted: Wed Nov 12, 2008 11:39 pm
by chulett
I've used "blat" in the past (UNIX, not Windows) and didn't have any issues with it. Some nice features there.
![Wink :wink:](./images/smilies/icon_wink.gif)