Hi,
I am running a job like...
(JOB_Activity)----------->(Notification_Activity)
On success of job_activity, I have sent email to multiple user.
Regards,
Jim
Notification_Activity_For_Multiple_Recipients
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 34
- Joined: Thu Feb 16, 2006 8:34 am
- Location: mumbai
First response would be - ok, go ahead! Or maybe Ok_Go_Ahead!
But I guess you are asking, in spite of the lack of an actual question, how one would do that, yes? Two simple answers:
1) Use an email group. To me, that is the preferred answer as changes to recipients is done outside of the job, maintained like any other email group is maintained.
2) List multiple email addresses in the stage. Use whatever separator works for your email system - that might be a space, a semi-colon, maybe even a comma for all I know. Test until it works.
In either case, I'd suggest you parameterize it so that changes don't require job changes to implement.
But I guess you are asking, in spite of the lack of an actual question, how one would do that, yes? Two simple answers:
1) Use an email group. To me, that is the preferred answer as changes to recipients is done outside of the job, maintained like any other email group is maintained.
2) List multiple email addresses in the stage. Use whatever separator works for your email system - that might be a space, a semi-colon, maybe even a comma for all I know. Test until it works.
In either case, I'd suggest you parameterize it so that changes don't require job changes to implement.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 34
- Joined: Thu Feb 16, 2006 8:34 am
- Location: mumbai
Thanks for your reply...
(Working 24/7) Oh...thing is I have to Sent Email to multiple user's.
I tried with two options Both are working fine.
1) Using UNIX Script like
#! /bin/sh
/usr/lib/sendmail -t <<////
From: jim@me.com
To: jim@me.com
To: jim@me.com
Subject: Hi Brothere
hai Buddy
////
2) Using DS Routine DSSendMail
However I have to use it in job_activity stage. i.e Success of multiple DS_JOBS.
chulett :
======
2) List multiple email addresses in the stage. Use whatever separator works for your email system - that might be a space, a semi-colon, maybe even a comma for all I know. Test until it works.
In either case, I'd suggest you parameterize it so that changes don't require job changes to implement.
How to pass multiple EMAIL ID's ?
(Working 24/7) Oh...thing is I have to Sent Email to multiple user's.
I tried with two options Both are working fine.
1) Using UNIX Script like
#! /bin/sh
/usr/lib/sendmail -t <<////
From: jim@me.com
To: jim@me.com
To: jim@me.com
Subject: Hi Brothere
hai Buddy
////
2) Using DS Routine DSSendMail
However I have to use it in job_activity stage. i.e Success of multiple DS_JOBS.
chulett :
======
2) List multiple email addresses in the stage. Use whatever separator works for your email system - that might be a space, a semi-colon, maybe even a comma for all I know. Test until it works.
In either case, I'd suggest you parameterize it so that changes don't require job changes to implement.
How to pass multiple EMAIL ID's ?
-
- Participant
- Posts: 34
- Joined: Thu Feb 16, 2006 8:34 am
- Location: mumbai