I am currently sending emails from a phprunner project.
Current Dialog Function
From the list page, I created a button event. The button triggers a dialog from the "Client Before". The dialog pulls the email address, customer neane, and other fields. These are presented n the dialog and can be changed/overwritten to address email to an alternate contact, etc. The dialog also has a dropdown to select the text (template) to appear n the email. Final Field is a text-area where a new template can be written.
The Server secton collects the parameters and uses them to create and send the email. returned from the dialog. The template is searched for fieldnames enclosed n { }, ie { email }. These fieldnames are replaced with the field values and the modifed template becomes the email body.
What I would like to do is:
On selecting a template from the dropdown, I would like the dialog to update the text-area, showing the current template. The text-area could then be dited to allow customizing the response to the customer.