I'm using 3.2.0.
I've set up a form. In the email setup I've added 2 emails - the status for both is Green. I've hit apply for both, hit save up the top, but the emails don't save.
I come back to the form and the forms lose the dynamic fields and have a red status.
This isn't happening on another site running V3.1
Any ideas?
Thanks,
Rashid.
Hi Rashid,
Usually this means that the ChronoForms validation check found something missing or incorrect (unfortunately it doesn't tell you what). Can you post a screenshot here please?
Bob
PS Here's my email checklist in case that gives any clues (Note. This list was written for ChronoForms v3 - there's a CFv4 list later in this thread):
a) That 'Send Emails' is set to 'Yes' on the Form General tab
b) That you have a valid Email Setup - if the box is green it's valid, red is invalid (see d below)
c) That you have set 'Enabled' to 'Yes' in the Email Setup Properties box
d) A valid Email Setup requires To, Subject, From Name and From Email elements (or the Dynamic equivalents) in the *same* setup box.
e) The element boxes must contain strings for the static elements or valid input names from the form for the Dynamic elements.
f) The To and From Email boxes must contain valid email addresses
g) The From Email address should match the Domain name.
h) The To email address should not be the same as the From Email address.
Hi Bob,
Thanks for the comprehensive check list - it helped!
I found the problem - I hadn't actually put a value (email) into the dynamic email to: field. DUH!
Thanks again for a great component.
Rashid.
I too had this issue. I found it was caused by having a dynamic subject field and trying to set the subject to a name. I assume it isn't possible to have a dynamic name like "text_5 text_9 submitted form" ? As in "Bob Smith submitted form."
Hi Paul,
I think you are using ChronoForms v3. In that case I'd use the OnSubmit Before Email box on the same tab (NB use the JRequest::SetVar() syntax for CFv3). There are many examples of dynamic subjects in the forums here.
Bob
Thanks Bob, but it's the dynamic "reply to" that i'm trying to get working. My reply to email comes from CB. I'm sure I will put something together.
Paul.
Hi Paul,
You can do something similar with a Dynamic Reply To. As long as the name in the Dynamic Reply To box matches an entry in the $_POST array containing a valid email address it will work.
Bob
Just revisiting some forms and your checklist in this topic came in very handy. Greyhead, you're a legend. Thankyou for all that you do in helping everyone out here in the forums.
Here's my email checklist updated for ChronoForms v4 (there's a CFv3 list earlier in this thread). Please check:
[list=a]
That 'Enabled' is set to 'Yes' on the Email action configuration General tab.
That you have values in the four required options - To, Subject, From Name and From Email - on either the Static or the Dynamic tab in the Email action configuration. Note you need a value in one tab or the other, not both.
The element boxes must contain strings for the static elements or valid input names from the form for the Dynamic elements.
The To and From Email boxes must contain valid email addresses.
The domain part of the From Email address should match the site Domain name. (If you don't do this then the From Email address should not be from Hotmail, Aol, Live or similar sites - though Gmail is OK.)
The To email address should not be the same as the From Email address.
Your site should have a correctly configured Email server setup. Check with your web-host for the settings to use. Note: if you are using a local Wamp or Mamp server you may need to set up a local mailserver, or use an third-party SMTP server like Gmail.
To test your site emails correctly check that the User Registration Emails are sent; or that the Email a Friend link works from an article. Checks are more likely to fail if you send to Hotmail, AoL, Live, or similar email services simply because they tend to have much more aggressive spam filters than other services.
Check that your form is sending email correctly using simple Static settings before using Dynamic settings.
If your emails aren't being delivered check the spam filters, that's most likely where they are.[/list:o]
Bob