"cc" on an Email

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
tracy
Participant
Posts: 47
Joined: Mon Aug 07, 2006 9:19 am

"cc" on an Email

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
tracy
Participant
Posts: 47
Joined: Mon Aug 07, 2006 9:19 am

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply