email recipient name in email body .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2023 02:55 AM
how to get email recipient name in email body .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2023 04:49 AM
hi @Basheer ,
thanks fo rthese help , i have on more query like - i need to send mail to all user individually , which i am getting from catalog form variables(type list collector) so when i am getting the values its sending mail to everyone at a time , i need to send mail one by one . below is my script ..
var arry = [];
arry = [current.variables.{variable_name}];
for (var i = 0; i <= arry.length; i++) {
gs.eventQueue('{event_name}', current, arry[i]);
}
}
please advise

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2023 09:44 AM
Hi @bala_1312
Let me try to resolve
var listOfEmails = current.variables.variable_name;
var arry = listOfEmails.split(","); //Hope the separator is "," if not then specify the correct separator
for (var i = 0; i <= arry.length; i++) {
gs.eventQueue('{event_name}', current, arry[i]);
}
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.