email script for notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2024 03:00 AM
I have a select box variable for example 'partner' in my catalog item, which is having user details as question choices(text is the name and value is the email id).
I have to send notification to the partner field value which was selected during raising the request. For example partner field value is 'ABC'(email is 'abc@exmpl.com'). Email subject and body I want to populate separately from system notification itself.
How can I implement this using email script and notification?
Can anyone please help me out, it is very urgent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2024 03:18 AM
Hi Abhishek,
In email script you can directly use your selectbox variable as below and use the value (email address) to send the notification.
var getEmailAdd = current.variable_name; // Get Value of 'ABC' which is ('abc@exmpl.com')
email.setReplyTo(getEmailAdd);