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
Email notification
#1
Except for this issue, I've been successful in installing FormTools, and am very happy with its capabilities. But I'm having a couple of issues with email notification.

I have Swift Mailer installed and it successfully sends a test email. I'm using the SMTP server on my web server. And it seems to work ok.

So far, I have only one form. I've setup an email template for that form and I've encountered a couple of problems.

First, when I enable the email template, my redirect page is never reached after submitting a form. The browser just displays a blank page with "form_tools/process.php" in the URL.
If I disable the email template, then the redirect page is displayed after submitting the form. In either case, the form entries are added to the database.

The second problem is that no notification email is sent (and yes, I enabled the email template). When I go to the "Test" section of the email tab, and click "Display Email", it shows the email. And if I click "Send Test Email" the little spinning animation goes around, but nothing else happens. No email is sent. I have my email entered in the "Your email address" of the test section.

Any ideas what the problem is?
Reply
#2
UPDATE:
I disabled Swift Mailer and everything seems to work fine. So I can leave it like this, but I would really be happy if I could figure out what was wrong when I enabled Swift Mailer since it was able to send a test email from the Swift Mailer configuration.
Reply
#3
Hi CalicoGirl,

Interesting. From what you described, this does rather sound like a bug with the Swift Mailer module and not anything you're doing. So just to confirm: after disabling the module, emails are now being sent properly and the form is redirecting?

Rats. Smile

- Ben
Reply
#4
That's correct Ben. Everything is working very well as long as I disable the Swift Mailer module.

(Mar 27th, 2010, 10:10 AM)Ben Wrote: Hi CalicoGirl,

Interesting. From what you described, this does rather sound like a bug with the Swift Mailer module and not anything you're doing. So just to confirm: after disabling the module, emails are now being sent properly and the form is redirecting?

Rats. Smile

- Ben
Reply
#5
Hi Ben,

I have the same exact problem CalicoGirl have mentioned and I also disabled the Swift Mailer to get it to work. The problem I'm having is the "Recipient(s)" tab in the Email Template. I would enter all the recipients, subject line, from, and reply-to fields. Then Then I would click on Update Email Template. It will say "The email Template has been updated" but the information I entered under the Recipients field disappears!!.. It tried adding multiple recipients on the field but once you click on Update Email Template again, the recipient emails will not show up. I don't get any problems under the Configuration and Content tabs, i think the problem is Recipients tab. If I click on the "Test" tab and click "display Email".. I would get an Error: Syntax Error: Badly formed JSON string:"

I hope I explained it clearly.
Reply
#6
Hi Jean,

The "Badly formed JSON string" is a bug that I'm working on right now. It's kind of a doozy, but I'm hoping to get it into 2.0.1.

But the recipients field content should never disappear like that...

I don't suppose I could get temporary access to your server? I'd like to debug this one directly. If it's possible, email me the FTP and your Form Tools login info at ben.keen@gmail.com and I'll take a look.

- Ben
Reply
#7
I'm having this exact problem except that I never had Swift Mailer installed (and still don't). Actually, one small difference from CalicoGirl - the "display email" button has never done anything for me.

Any suggestions?

(Mar 23rd, 2010, 6:06 PM)CalicoGirl Wrote: Except for this issue, I've been successful in installing FormTools, and am very happy with its capabilities. But I'm having a couple of issues with email notification.

I have Swift Mailer installed and it successfully sends a test email. I'm using the SMTP server on my web server. And it seems to work ok.

So far, I have only one form. I've setup an email template for that form and I've encountered a couple of problems.

First, when I enable the email template, my redirect page is never reached after submitting a form. The browser just displays a blank page with "form_tools/process.php" in the URL.
If I disable the email template, then the redirect page is displayed after submitting the form. In either case, the form entries are added to the database.

The second problem is that no notification email is sent (and yes, I enabled the email template). When I go to the "Test" section of the email tab, and click "Display Email", it shows the email. And if I click "Send Test Email" the little spinning animation goes around, but nothing else happens. No email is sent. I have my email entered in the "Your email address" of the test section.

Any ideas what the problem is?

Reply
#8
Hi lbrideau,

This is a tricky problem to debug remotely... basically, something's going wrong along the way that's causing the info returned from the server to be in an invalid format.

Would it be possible for me to debug the problem directly on your installation? If so, email me your FTP + Form Tools admin login info and I'll take a look.

- Ben (ben.keen@gmail.com)
Reply
#9
Thank you for your good answers, useful.
Reply
#10
I found that, for me, some of the settings would not save properly if I were using Chrome. It could have been one or more extensions that could have been added, but I didn't feel like trouble shooting disabling extensions at the time (such a lazy web guy, I am, sometimes), so I opted just to use my "no extensions added" version of the MS Edge browser, and it save everything to the database just fine after that.

Hope that helps someone.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)