Replace email token with actual data and display to the user prior sending the email
Hi Guys, I have created a email template to send the email. However, before sending the email I want to display the email body to the user and allow user to modify the email body then send the email by clicking on send button. The email body is being display along with token but I want to replace those token with actual data and allow user to edit the body as well. Could you please let me know how to replace the token with actual data and allow user to modify the email body. Thanks in advance
Are you using Email Connector module. If so, you can create Email object using 'Email_Connector.CreateEmailFromTemplate' java action. Once the object is created, you are free to manipulate the body of the email as per your requirement in the UI. You can then use the same object to send your email.