FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Emails not coming through, Test emails are
#1
First of all I want to say thanks to the Form Tools community for such a great product!

Now for my problem:

I've done the normal FormTools install (2.0.4) and everything worked fine.

I've created a form on the following page: http://www.redrockbrokers.com.au/index.p...ppointment

However when I submit the form, it goes into the FormTools back end but the Email submission isn't working. The Test email submission does work, however my client will want to receive the form via email and it seems that part isn't working correctly.

I'm not using Swift Mailer and I've tried different variations of the form and still no dice.

If anyone has any ideas of how to get this going please let me know!

Ben (of fauvdesign)
Reply
#2
Have you configure the email recipients? You do that by clicking on the button labeled "configure form email fields". That is where you select what fields in the form are used to address the email and who it goes to.
Have you tested both the HTML and text formats separately? The test submission sends an email to the address used in the formtools configuration, not the email recipients you assign in the template.

I have had to delete the template and rebuild a new a couple of times myself. You may have to try that if everything else checks out.
Reply
#3
(May 11th, 2011, 6:24 PM)JMW Wrote: Have you configure the email recipients? You do that by clicking on the button labeled "configure form email fields". That is where you select what fields in the form are used to address the email and who it goes to.
Have you tested both the HTML and text formats separately? The test submission sends an email to the address used in the formtools configuration, not the email recipients you assign in the template.

I have had to delete the template and rebuild a new a couple of times myself. You may have to try that if everything else checks out.

Hi JMW,

Yes I've configured the email recipients, I've done everything I would normally do to get a form working properly, but obviously unsure if I've entered something incorrectly that would cause an email to be sent as a part of the process.

Ben
Reply
#4
Did you edit the content in the template?
Start by just selecting one of the possible layouts, you know
to adminastrator/client
To user
etc.
II found that if I went in and edited the content first that I would have different errors. But when I selected a content format, tested it, then only edited it one line/section at a time, save, test that I had better results.
Also double check the advanced settings for the email configuration to make sure it's set for the action you want to trigger the email send.
Other than that, not sure what else you could do.
You are being sent to the "thank you" page after form submission, correct? I had an issue recently where payment was processed, database was updated, but it would hang-up in the portion of the api that directs the email to be sent. It would just display a blank page. Problem was my email template had gotten corrupted and I had to delete it and create a new one.
Reply
#5
(May 11th, 2011, 7:14 PM)JMW Wrote: Did you edit the content in the template?
Start by just selecting one of the possible layouts, you know
to adminastrator/client
To user
etc.
II found that if I went in and edited the content first that I would have different errors. But when I selected a content format, tested it, then only edited it one line/section at a time, save, test that I had better results.
Also double check the advanced settings for the email configuration to make sure it's set for the action you want to trigger the email send.
Other than that, not sure what else you could do.
You are being sent to the "thank you" page after form submission, correct? I had an issue recently where payment was processed, database was updated, but it would hang-up in the portion of the api that directs the email to be sent. It would just display a blank page. Problem was my email template had gotten corrupted and I had to delete it and create a new one.

Hi JMW,
To begin with I edited the email template, but after it didn't work the first time and after a little digging around it seemed that it could cause issues, so I changed to using the template without editing it.

I am being sent to the thank you page, and all the advanced settings seem to be fine. I am using some Spry Text Fields and Selects, could this possibly be causing issues? I've used them before with no trouble. Could it be a problem with the domain or hosting settings?

Thanks for trying to help!

Ben
Reply
#6
I doubt the Spry assets would be giving you a problem, otherwise you most likely would not be able to finalize the form.
the re-direct to the "thank you" page is pretty much the end of the line as far as the form processing.
look for this line in the process.php located in the formtools directory; (line 317)

// send any emails
ft_send_emails("on_submission", $form_id, $submission_id);

That is the last action of the script before the redirect when all goes well. Make sure it hasn't been altered or anything.
You said you were getting the test e-mail and it was all correct, right? So you know then that at least the formating and all isn't causing an issue. My gut thought is that something is interferring with the script processing the line mentioned above. Remember the test e-mail within the admin section does not use the info in process.php to send mail.
Reply
#7
(May 12th, 2011, 5:17 PM)JMW Wrote: I doubt the Spry assets would be giving you a problem, otherwise you most likely would not be able to finalize the form.
the re-direct to the "thank you" page is pretty much the end of the line as far as the form processing.
look for this line in the process.php located in the formtools directory; (line 317)

// send any emails
ft_send_emails("on_submission", $form_id, $submission_id);

That is the last action of the script before the redirect when all goes well. Make sure it hasn't been altered or anything.
You said you were getting the test e-mail and it was all correct, right? So you know then that at least the formating and all isn't causing an issue. My gut thought is that something is interferring with the script processing the line mentioned above. Remember the test e-mail within the admin section does not use the info in process.php to send mail.

Thanks for the help JMW!

Yeah I am getting a test email. I downloaded 2.0.6 as I was using 2.0.4, and still getting the same issue. Really frustrating as I've done a few successful installs previously. It's not giving me any errors, none in installation, none in the back end.

So I'm back at square one. I haven't altered any script, I've just done the normal install.

Can anyone help? Has anyone else ever had this issue? The install is on a Windows server with Plesk, could that be an issue? Could it be the Spry validation?
Reply
#8
Hi Ben,

Boy, the error checking sure sucks on the email templates - I'm so very sorry. This is definitely something I'll address in upcoming 2.1.0 alpha versions.

And thanks JMW for all your debugging tips! Good stuff, I agree with everything you've said. Kind of perplexing that there's still a problem.

It's certainly not Spry that's the source of the problem; you can do anything you like on your pages; Form Tools only cares about the contents of the POST requests, so you're fine there.

Plesk + Windows should also be fine.

Any chance I could get temporary access to your server so I could log on and debug the problem directly? It doesn't sound like you've done anything wrong at all. If so, email me at ben.keen@gmail.com and we'll go from there.

- Ben
Reply
#9
Thanks for the help Ben, I went with the Swift Mailer module and all working as it should!
Cheers
Reply
#10
Excellent!! I do hope it wasn't too much of a pain to configure.

- Ben
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)