- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2020 04:59 PM
Hello,
I am using an email script to set an email address as the 'From' & 'Reply to" for an email notification. That works fine, however, it still has the "It Service Desk" in the name field (see pic below). Is there any way to change this? The from & reply to work great, I would just like the name to not be IT Service Desk. Thank you for any help.
email script:
(function runMailScript(current, template, event) {
email.setFrom(current.recruiter_email.toString());
email.setReplyTo(current.recruiter_email.toString());
})(current, template, email, email_action, event);
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2020 07:17 PM
Hi,
To do this you would just do something like:
(function runMailScript(current, template, event) {
email.setFrom("Name <" + current.recruiter_email.toString() + ">");
email.setReplyTo(current.recruiter_email.toString());
})(current, template, email, email_action, event);
So for example:
email.setFrom("JJG <jjg@gmail.com>");
So however you can get the "name" you would want to add that in to the same line.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2020 07:17 PM
Hi,
To do this you would just do something like:
(function runMailScript(current, template, event) {
email.setFrom("Name <" + current.recruiter_email.toString() + ">");
email.setReplyTo(current.recruiter_email.toString());
})(current, template, email, email_action, event);
So for example:
email.setFrom("JJG <jjg@gmail.com>");
So however you can get the "name" you would want to add that in to the same line.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2022 08:56 PM
Update this sys_property
glide.email.username
https://XXXX.service-now.com/sys_properties_list.do?sysparm_query=name%3Dglide.email.username&sysparm_view=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 01:16 AM
You can update the From address and Reply to Email address in required Notification record, refer screenshot for details.