Auto Email Sending Form

peterswa62 12 Jun, 2013
Is it possible with Chronoforms to have a form which reads automatically an email address from a record puts the address into an email with a message and sends it automatically after pressing a submit button?
GreyHead 12 Jun, 2013
Hi peterswa62,

Yes that's possible. You can use a DB Record Loader to get the address and a Dynamic To in the Email action to use it.

Bob
peterswa62 13 Jun, 2013
Thanks. On passing the variable containing the email address to the To field in the email, would you use PHP or just {} from the $form->data array. Also need to put the person's name in the email body would you use the same method as well?
GreyHead 13 Jun, 2013
Hi peterswa62,

On passing the variable containing the email address to the To field in the email, would you use PHP or just {} from the $form->data array.

Neither, just the input name in the box on the Dynamic tab of the action*.

Also need to put the person's name in the email body would you use the same method as well?

Curly brackets for this one.

Bob

* Unless you are using My Email [GH] action when you need the {} as there aren't separate Static and Dynamic tabs.
This topic is locked and no more replies can be posted.