- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 09:10 PM
I'm currently configuring Major Incident module. Within the Communications Plan, I need to be able to dynamically script the recipients of each of the emails that are going out from the MIM Workbench. I've done the following:
Created a Notification Email Script:
Referenced it in the Email Client Template in the Communications Plan:
Execute the comms from the MIM Workbench. I'm expecting to see myself as a recipient in that box, but it's not happening:
Anyone have any thoughts/pointers?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 09:47 PM
Hi Steve,
I tried the same thing in an email client template and got the same result. However then I tried putting "javascript:" in the "CC" field definition in the email client template, and it works!
Here is the example:
You can see I tried using the following line as one recipient:
javascript:"manish.vinayak@" + "example1.com"
and other recipient after having a "," as :
manish.vinayak@example2.com
And I observed, it actually processes the Javascript as one recipient. Here is the result of that configuration:
I didn't expect it to work; but it did 🙂 Give it a try.
Hope this helps!
Cheers,
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 09:47 PM
Hi Steve,
I tried the same thing in an email client template and got the same result. However then I tried putting "javascript:" in the "CC" field definition in the email client template, and it works!
Here is the example:
You can see I tried using the following line as one recipient:
javascript:"manish.vinayak@" + "example1.com"
and other recipient after having a "," as :
manish.vinayak@example2.com
And I observed, it actually processes the Javascript as one recipient. Here is the result of that configuration:
I didn't expect it to work; but it did 🙂 Give it a try.
Hope this helps!
Cheers,
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 10:07 PM
That sounds interesting! I might be able to get it to reference a Script Include that will do all the work. Thanks! I'll experiment with this and post back with results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2021 04:28 AM
Tested on a similar use case and can confirm running Script Include works and does the job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 09:51 PM
