Struggling to get "Dynamic To" email option working

pks 24 Jul, 2013
I have a sample form created using the Easy Form Wizard, and have trialed the form using the debugging option. The one problem area is sending the email to the person who submitted the form (ie: using the "Dynamic To"). The debugger successfully shows the 'From' email (ie: the site admin), but does not pick up the Dynamic To email address.

Within the Easy Form Wizard > Emails tab, the To*, Subject*, From name* and From email* all appear to be mandatory ...which seems odd if there is meant to be an alternative option for using a Dynamic To field. I have tried:-
[list]
  • Leaving the 'To*' field empty, but putting the {email} tag (yes, that's the actual name of the variable) in the 'Dynamic To' field

  • Putting {email} in the 'To*' field and leaving the 'Dynamic To' field empty.

  • [/list]

    Neither of these approaches will successfully deliver an email. To be honest, I would not expect the second one to work, but it did display the letters: '{email}' in the debugging view.

    So my query is: how should I complete the various fields in Emails > Email1 so that the email is sent to the person who completed the form?

    Thanks in advance for the info.
    pks 24 Jul, 2013
    FWIW, I have also checked in my server spam logs, and nothing shows there.

    The debugging feedback informs me:-
    An email has been SENT successfully from (my email address shows correctly here) to {email}

    ...it shows as {email} regardless of whether I include or omit the curly brackets in the Dynamic To field.

    I have also switched to the Form Wizard (ie: not Easy), emptied all boxes in the Static tab, and entered info only under the Dynamic tab. Still no joy. 😟

    Here is the start of the debugging output:-

    Notice
    You must provide at least one recipient email address.
    Invalid address: {email}Data Array:
    Array
    (
    [option] => com_chronoforms
    [tmpl] => component
    [chronoform] => DunamisFramptonCotterell
    [event] => submit
    [Itemid] =>
    [name] =>
    [email] => [email]testaccount@sender.org.uk[/email]
    [address1] =>
    [address2] =>
    [address3] =>
    [address4] =>
    [address5] =>
    [telephone] =>
    [mobile] =>
    [special_requirements] =>
    [booking_type] => Please select
    [payment_method] => Bank Transfer
    [booking_or_full] => I will make the full payment with my booking
    [chrono_verification] => hN6Mr
    [submit_button] => Submit
    [fa23963568e4d82aac50009624f7df57] => 1

    pks 24 Jul, 2013
    :) I have installed the Email [GH] action and this has successfully resolved the problem.

    :idea: It would be good if this was incorporated with the latest build, rather than having a default set of email actions which contain a bug.
    GreyHead 26 Jul, 2013
    Hi pks,

    In the standard Email action the Dynamic boxes take just the input name with no brackets or quotes. My Email [GH] action requires the brackets as it allows you to mix and match in the same box.

    Bob
    This topic is locked and no more replies can be posted.