The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Email notification - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Email notification (/showthread.php?tid=599)



Email notification - CalicoGirl - Mar 23rd, 2010

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?


RE: Email notification - CalicoGirl - Mar 24th, 2010

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.


RE: Email notification - Ben - Mar 27th, 2010

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


RE: Email notification - CalicoGirl - Apr 2nd, 2010

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



RE: Email notification - jean4337 - May 11th, 2010

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.


RE: Email notification - Ben - May 15th, 2010

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


RE: Email notification - lbrideau - Jan 29th, 2012

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?




RE: Email notification - Ben - Feb 4th, 2012

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)


RE: Email notification - Desy231 - Dec 4th, 2017

Thank you for your good answers, useful.


RE: Email notification - mcbeck99 - Dec 12th, 2017

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.