Mail script does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2024 09:54 PM
I have a simple mail script and it does not work in any notification. I am using in scoped applications. Is there any setting to enable mail scripts ? I thought is was oob and it should work when I reference in notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2024 10:20 PM
Hi @samadam
When referencing a mail script in a notification, use the correct syntax ${mail_script:script_name} and Make sure the mail script is created within the same scope as your notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2024 10:46 PM
Hi @samadam
When referencing a mail script in a notification, use the correct syntax ${mail_script:script_name} and Make sure that email script is in same scope as the notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2024 05:38 AM
Yes I am doing that. Scope is the same and referencing the same way. None of the mail scripts working is making me think there is something else that might have to be set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2024 05:58 AM
Hello @samadam
1. try updating the domain scope to global if it is not.
2. try running the mail script in scripts-background to find out if it is working.
3. add gs.log to debug at the beginning, middle or at the end to find out whether it is getting executed at all or not.