Posts: 6
Threads: 3
Joined: Mar 2010
Reputation:
0
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?
Posts: 6
Threads: 3
Joined: Mar 2010
Reputation:
0
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.
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
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.
- Ben
Posts: 6
Threads: 3
Joined: Mar 2010
Reputation:
0
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.
- Ben
Posts: 1
Threads: 0
Joined: Mar 2010
Reputation:
0
May 11th, 2010, 12:14 PM
(This post was last modified: May 11th, 2010, 12:25 PM by jean4337.)
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.
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
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
Posts: 1
Threads: 0
Joined: Jan 2012
Reputation:
0
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?
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
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)
Posts: 10
Threads: 0
Joined: Dec 2017
Thank you for your good answers, useful.
Posts: 4
Threads: 2
Joined: Dec 2017
Reputation:
0
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.
|