How to Send Email to BCC Recipients When "Event parm 1 contains recipient" is Empty?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 11:33 AM
I have a use case where I need to send an email with recipients specified through "Event parm 1 contains recipient", which are set as "to" addresses. Additionally, I have variable email addresses that need to be added as "bcc", and this is handled using email.addAddress("bcc", gr.getValue('X'));
in an email script.
However, I am facing an issue: when "Event parm 1 contains recipient" is empty, the email is not being sent to the BCC users either.
Is there a way to ensure that the email is sent to the BCC recipients even when the "to" recipients are missing? Any suggestions on how to handle this scenario effectively would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 09:59 PM
Hello @NiveditaM
You can do one thing if the Event parm 1 contains recipient is empty then you can utilize the "to" as bcc users.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 10:38 PM
You might be using script to set the Event parm1. If the recipient is empty then set instance email address as Event parm1. then ensure when this email comes it's ignored in the instance.
email notification using solely BCC recipients
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2025 07:15 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader