Email Client Template 'From' Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 12:57 PM
Hello,
We are using the Reply, Reply All and Forward buttons on emails sent and received in the activity for incidents.
We are trying to update the 'From' email address if the assignment group is a specific group.
For example, if we were sending a reply from and incident in the Service Desk assignment group we would want it to deliver to the user as 'ServiceDesk@company.com' but if we were sending from an incident in the Infrastructure assignment group, then we would want it to come from 'Infrastructure@company.com'.
I have found where the templates are managed from, Email Client Templates. We have tried updating the mail script and the Sender Configuration > From Generation Type > Script, however had no joy. I'd imagine its something we are doing wrong with the script.
I hope this makes sense.
Thanks,
Adam
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 01:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You may use scripting or script include in From field. Choose From Generation Type as Text and add below something like:
javascript: current.assigned_to