Empty email being sent?

johnmiked15 12 Aug, 2008
I am very new to ChronoForms, so excuse my lack of knowledge on its inner-workings.

I created a form, created the table, an email template, and an email.

The form works properly since all data is correctly posted to the table. Also, an email is sent according to the settings, but the email content is completely blank, no matter what I put in for the template! The only thing that is actually there is the IP the form was submitted from.

Am I missing something? Thanks.
GreyHead 12 Aug, 2008
Hi johnmiked15,

Do you have a ReDirect URL set? If you do, please remove it temporarily, turn Debug on in the general tab, submit your for and paste the content of the resulting page here (either the text or an image is good).

Bob
johnmiked15 12 Aug, 2008
I didn't have a redirect sent, and I already had Debug turned on. PHP information as far as posting to the MySQL table looked good, but the email part just has a description of the blank email sent, no php errors or anything.

Luckily, I was able to figure out the error...I erroneously had a parenthesis is one of my form's names. I had overlooked it. A suggestion on my part would be to sanitize user form names (since you extract it for table purposes and smart tags anyway) to make sure that illegal characters are not used, and display an appropriate error message.

After I fixed the parenthesis, the email worked flawlessly. Thanks for your time!
This topic is locked and no more replies can be posted.