Dynamic Email Subject in the Email Body
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 10:40 AM - edited 05-01-2024 10:43 AM
Hi All,
I want to the email subject to be dynamic and when i am using the script , i am able to see the body in the email but subject is not Populating the email and it is not showing as Proper Email . Please let me know if anything has to be changed .
if(conditon matches){
{email.setSubject(" Your selection is made ")
email.setBody("testing Purpose");
}
Results :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 11:14 AM
Hi @sushma9 ,
Where exactly you are checking this. Email Logs or Notification Preview.
If you open that notification and check via "Preview Notification" the Subject line is showing there. Check there if dynamic value is visible for subject line.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 09:43 PM
@AshishKM Subject line is showing but the email is not in proper format and i have added the proper tenplate in the email as well but its not showing in the when i priviewd it