Forums

Can't get chronoforms to send email

Basstrup 29 Jul, 2011
I am trying to get chronoform to send email but nothing happens.

In the events i have - in this order:
Check Capthca
- on success
- on fail
-- Event loop
DB save
Email - email
Show Thanks Message

I have enabled send email

When filling out the form the data is saved to the db table
And adding the debug to the event it does say email sent successfully, but no email is ever received.

I am confused about setting up the static and the dynamic part of the email settings. Can they work together? Or does either dynamic OR static needs to be filled. Or can both be filled?

Will multiple forms with different names and different db tables, but containing fields w similar names confuse chronoform?

Does chronoform rely on the email setting in the Joomla! global config? - I have tried both sendmail and w phpmailer setting - same result.

Any ideas are appreciated.
GreyHead 29 Jul, 2011
Hi Basstrup,

. . .about setting up the static and the dynamic part of the email settings. Can they work together? Or does either dynamic OR static needs to be filled. Or can both be filled?


They can work together or separately; but for testing purposes leave the Dynamic empty and use only static and make sure that you have entries in To, Subject, From Name & From Email. The From Email address should match the site domain and be different from the To Email.

Will multiple forms with different names and different db tables, but containing fields w similar names confuse chronoform?


No

Does chronoform rely on the email setting in the Joomla! global config?


Yes it does, make sure that this is working OK. I usually check with the 'Send to a Friend' icon on an article page.

Bob

PS Here is my full email checklist. It was written for CFv3 but applies with only very small changes to CFv4 (Note: item b) no longer applies).

Please check the following:

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.
Basstrup 29 Jul, 2011
Thanks

"g) The From Email address should match the Domain name."

did the trick. sandbox site is sitting on a subdomain so sending from [email]info@mydomain.com[/email] had to be changed to [email]info@subdomain.mydomain.com[/email]

works wonders

Owes you a pint :-)
This topic is locked and no more replies can be posted.