Open Outlook Client from UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2018 09:32 AM
Hi,
I'm trying to open outlook client from UI Action in catalog task but the browser does nothing. Please advise what I'm missing here.
var subject="test";
var ex="this is a test";
gs.setRedirect("mailto:ashu@example.com?subject="+subject+ "&body=" +ex+ '');
Any help will be appreciated.
Thank you,
Mujtaba
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2018 09:46 AM
Hi,
Try using
var subject="test";
var ex="this is a test";
gs.setRedirect("mailto:abc@gmail.com?subject="+subject+"&body="+ex);
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2018 09:46 AM
Hi Mujtaba,
This works fine for me. It asks me whether to open outlook or some other app
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2018 09:47 AM
Works fine for me. Do you have pop-up blocker enabled? You should disable that
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2018 10:02 AM