Smart Mailer PHP Support Product Page
How to format Variable in Email template
Asked 18 years ago
1
has this question
18 years ago Mark Lynch posted:
Hi,I have bought a few extensions from DMX, but have noticed that no has replied to the other requests for help here, so I'm a bit concerned that DMX doesn't reply to anyone who is looking for help.
Anyhow, my question is (hopefully if anyone out there knows or the staff at dmx please), I want to send a form template to my client from a form which has been completed on his site, but what is the format to send Variables from the template to his email box from the form the client has completed.
ie, the format to send a variable in the static/html box is ##$_POST['pf_forename']##, but what is it on the template which is being sent to the client with the form infomration on?
I would be gratefull and less concerned if dmx got back.
Cheers
Mark
Replies
Replied 14 years ago
14 years ago Mark Lynch replied:
Four years and still waiting for an answer to this!! Brilliant support
Replied 14 years ago
14 years ago Miroslav Zografski replied:
Hello Mark,
Yes must admit that it is a long time waiting for an answer. We must do more than apologies to you.
However here is the answer to your question:
The extension does not have capabilities of creating additional masks for a form fields - it just send mails and it only masks variables passed in its UI.
However, if you like to have a dynamic Template it is up to you to figure out how to make it but here are some guides:
If you have a form from which you like to add parts to your template you can pass them through the URL of the template set in the Smart Mailer UI, or have them assigned to a session variable and call them in your Template.
There is third way - you can set your form to use an HTML Editor like out Advanced HTML Editor and build the body of the template there and just assign the field in the UI.
Regards,
Yes must admit that it is a long time waiting for an answer. We must do more than apologies to you.
However here is the answer to your question:
The extension does not have capabilities of creating additional masks for a form fields - it just send mails and it only masks variables passed in its UI.
However, if you like to have a dynamic Template it is up to you to figure out how to make it but here are some guides:
If you have a form from which you like to add parts to your template you can pass them through the URL of the template set in the Smart Mailer UI, or have them assigned to a session variable and call them in your Template.
There is third way - you can set your form to use an HTML Editor like out Advanced HTML Editor and build the body of the template there and just assign the field in the UI.
Regards,