MailScript - send BCC email not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 06:35 AM - edited 12-14-2023 07:40 AM
Hello guys,
I need to send an email notification via BCC. I tried using the following mail script to do so, but it's not working:
I used gs.log for debug, but i don't get any message in the System Logs, apparently it does not even call the script from the notification template.
This is my notification, where i call the mail script
The condition to send is when a record is inserted in the "HR case" table.
And for the "who will receive" i used my email as a test (and the email is sent to me, so the notification is working,), what's not working is the mail script.
Does anybody have an idea why the mail script is not working as supposed?
Thanks in advance!
FLM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2023 02:50 AM
Yes, i already activated this email property. The email is sent, but the BCC is not sent
As i said, from my debugging, i think the issue is with the mail script itself, which is not even being called from the notification template. I know this because used gs.info() in the mail script and i don't get any message in system logs after the email is sent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2023 03:20 AM
Copy and paste the name of your email script in the notification, try it in another notification, there might be an error in a previous email script in your notification.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 03:03 PM
hi @Felipe Morais , I had a similar thing and discovered if I looked at the source code of the email template I had inserted my mail script into it was showing <div> and </div> wrapped around my mailscript.....I removed these in the email template and it worked! Not sure if that is the issue, but sounds like you tried everything else!