- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2020 12:46 PM
Our objective is to send an email out to a large number of individuals. We are looking at using the Notification Content / Scheduled content to achieve this. This is our first time using this and I was testing in Sub Prod and came upon a puzzling scenario.
Created Notification Content.
On Scheduled Content Related List tab, created new schedule. The noted Audience originates from a User Criteria record pointing to a group of 10 users. (Bear in mins this is just a test and our actual scenario would have much larger numbers)
After the required Content Automation scheduled jobs ran the Content Status went to complete.
What I would expect is for the email to be sent to the 10 members noted in the Audience, but instead, a single email was sent to dumb@email.com....the very address designated to send the email from.
I thought I had a decent understanding of what needed to be done, but something is missing. What is required to send a message to the audience noted in Scheduled Content?
Solved! Go to Solution.
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 02:09 PM
Hi @kevinthury and
I think I can give some context around what Kevin was seeing, and why Shruthi's response fixed it for Kevin.
The short answer is that we BCC the recipients so that if a campaign email goes out to 1000 people someone doesn't "reply all" and spam all 1000. The BCC field doesn't show on the list view of the emails table or on the form view, so it is very likely that Kevin was getting the correct behavior from the start, just wasn't seeing any evidence of it.
Now the long answer...
The "Content Automation: Send Email Notifications" scheduled script execution calls a script include which eventually queues events with: gs.eventQueueScheduled(eventName, eventGr, recipientsChunk, events[key].campaignId, gdtProcessOn);
Here is a screenshot showing the definition of that API
In the third and fourth parameters, we are passing the list of recipients and the sys id of the campaign record, respectively.
I'm running this using the demo data campaign "Open Enrollment". After publishing the event, and running appropriate jobs, I go to "Event Log" and find the most recent event named "sn_ca.notification.campaign_email". Screenshot below.
As expected based on the API, the list of recipients is in parm 1, and the campaign id is in parm 2.
Now if you go to the notification called "Campaign Emails", and look at the "What it will contain" tab, you'll see that in the "Message HTML" we specify two mail scripts.
The important one is content_delivery_set_recipients. (Navigation menu item is "Notification Email Scripts").
Here you can see we are using "parm1" to set the BCC field.
Finally, you can go to "Emails" and find the open enrollment emails. I ran this twice -- once where I had the "Event parm 1 contains recipient" flag false and once true.
The top record is where I had that flag true. You can see that Recipients contains the whole list of users, but so does "Blind copied". (NOTE: I added 'Copied' and 'Blind copied' to the list view). In the bottom record, the recipients only contains my admin user, but the 'Blind copied' contains the list.
I think it is very likely that Kevin was getting the correct behavior from the start, just wasn't seeing any evidence of it.
-Tom

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2020 01:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2020 01:13 PM
No. I did check the email properties and that value is empty just as it appears in your image.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2020 01:54 PM
Does the group, HR Tier 1, have an email address associated with it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2020 02:22 PM
It does have an address associated with it...hr_tier_1@example.com. (I am running this test in my PDI).
I was expecting the Scheduled Content to send a message to each of the members in the group. Perhaps that Group email is throwing things off? You've giving me something to try. Thanks!