- 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-20-2020 04:11 AM
Hi
I did replay what you explained in your scenario, and today (when my Publication reache it's "Publication Date", I received a Notification (shown in the Screenshot below):
Look at the "Publication Date" in the Screenshot below:
The Workflow is at the same stage and Workflow Activity as yours (and it also RAN the same path, like yours):
The Publication itself hold the List of Recipients in the Related List "Recipients" (see below):
The Notification just fires as soon as the stage of the Publication changes to "Published" (see screenshot below):
I did not find, when and where this Notification was created, but it filters by SYS_ID directly to the Publication that I created.
Looking to the Outbox / Sent EMails, I find the following:
BEcause I had 672 recipients, the system needed to create 7 emails (one for each 100).
The details of one of the emails looks like shown in the screenshot below:
And below the list of the recipients, which are put all as BCC (to protect their data):
There is also a log entry, stating the email creation:
Try to review the same like I did in the screenshots above, and let me know what is different in your system.
Thanks & BR
Dirk

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2020 04:17 AM
HI
By the way, if you want to find the Notification related to your Publication easiest, you can go the follwing steps:
1) Open Your Publication
2) Click the "info" button next to the email template field (2) - see screenshot to open the record preview
3) Click on "Open Record" (3) to show the following screen
4) Scroll down to the Related List "Notifications". There you can find the Notification referencing the Name of your Publication. Click the name to open the Noftication.
Let me know, if that answers your question and mark my answer as correct / helpful, please.
Thanks and BR
Dirk

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2020 04:25 AM
Hi
Maybe one more hint:
As long as I did not click the "Refresh Recipient List" Button (1), the Related List of "Recipients" remained empty. Maybe that is a missing part at your situation.
After clicking that button, all recipients from the "Recipient List(s)" have been added to the Related List.
Can you check, if your Related List hold recipients for your Publication record in "Published" state?
Thanks a lot
BR
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 11:29 AM
Hi Malini,
I am encountering a similar issue where the emails are not found in the email log table. Can you suggest how did you start seeing the emails in the email log table. Once published, the notification record is added to the publication but there is no email log found
Regards,
Arvind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2020 06:26 AM
Hi Dirk,
There is only one contradiction in my instance and yours that is in the header field of the email T
.I do not see any Bcc list as you have.
This is what i see in the notification
Is this the right way to add recepients. By the way I am using Newyork instance.
Thanks
Malini