- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2020 07:40 PM
Hi,
I have created receipients list in the Publications.But the users in the receipients list are not receiving email notifications when the publication is published.There are some out of the box notifications which are configured but sn_publications.createEmail is not getting triggered and Targeted Communication Send Email notification is not sent.
Can any one help me resolve this issue.
Thanks
Malini
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2020 01:50 AM
Hi
I just searched a lot in the scripts and BR of the Targeted Communication and found out the following for the Event you are referring to (Event = "sn_publications.addBCC").
This Event is fired in one Script Include called "RecipientsListApi" in the function "_getNewRecepients()" (which is called internally, when the public Function "refreshRecipients()")
The public function "refreshRecipients()" in turn, is called from (e.g.) the Scheduled Job called "Targeted Communications Recipients Refresh" (running daily at midnight).
However: This function fires the Event just in case, you added NEW Recipients to the Recipient List AND the "EMail Account" configuration record for your "SMTP" Account is having either a "FROM" value, OR a "User Name" value. If that is EMPTY, the "addBCC" Event will not be fired.
For Reference, see screenshots below:
a) The SMTP EMail Account config
b) here comes the code snippet reading the SMTP Account (Script Include "RecipientsListApi"):
c) Here is the CODE Snippet to fire the event (Script Include "RecipientsListApi")
So, finally, can you check your SMTP Account Config?
For me, the Event was fired, when I manually executed the Scheduled Job (see screenshot below):
Reviewing the EMail Log, I was able to see the new Notification created...
In the "Bcc" List (in the Header of the EMail), I was able to find exactly the two NEW added Users to the Recipient List.
As a result. "Refreshing" a Recipient List (not inside of a Publication, but JUST the configuration of the List itself), will fire the "missing" emails to the new recipients - for all affected Publications in one shot. That is quite cool!
BTW: How many answers do you expect me to send to you until you at least click once on "helpful" (which gives me extra points in the community and keep me motivated here)?
Thanks for answering
BR
Dirk

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2020 11:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2020 04:54 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2020 10:09 AM
Hi
Did you check the Workflow Context, which was created for your Publication?
I tried out and found my workflow waiting like shown in the screenshot below:
Can you please cross check, in which state and in which activity your workflow for the given Publication is currently.
It would help, if you also could post a screenshot from your Workflow context to analyze.
Also, can you tell me how many recipients your Recipient list have?
Do you have ONE or MORE Recipient Lists added to your publication?
We will sort out. Just let me know.
Thanks a lot & BR
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2020 11:21 AM
Hi Dirk thanks for respondi,
Below are the screen shots.Please take a look at it.
IIn recepient list,I have added contacts and I used below condition
I have two recepients
My workflow is published as well
But in email logs, I do not see recepients in the list.I Just see only one notification
Thanks
Malini