The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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 "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
SwiftMailer fails with Internet Explorer and Firefox Only - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16)
+--- Thread: SwiftMailer fails with Internet Explorer and Firefox Only (/showthread.php?tid=2899)



SwiftMailer fails with Internet Explorer and Firefox Only - Chris Spires - Feb 4th, 2014

Have an installation of Form Tools 2.2.6 with Swift Mailer 1.1.2. We set up several forms and all appeared to be going fine. Then we found that the error shown below is generated each time a form is submitted using Internet Explorer or Firefox. However, it works fine with Chrome.

I've run the System Check module and everything checks out fine. Everything else seems to be working fine too. I increased the timeout in Swift Mailer to as much as 180 seconds and that didn't make a change...though I didn't expect it to.

Any ideas?

Here's the error:

Fatal error: Uncaught exception 'Swift_BadResponseException' with message 'Expected response code(s) [250] but got response [501 5.5.4 Invalid domain name]' in C:\web\xampp\htdocs\formtools\modules\swift_mailer\php5\Swift.php:250 Stack trace: #0 C:\web\xampp\htdocs\formtools\modules\swift_mailer\php5\Swift.php(310): Swift->assertCorrectResponse(Object(Swift_Events_ResponseEvent), 250) #1 C:\web\xampp\htdocs\formtools\modules\swift_mailer\php5\Swift.php(261): Swift->command('EHLO [2002:81fc...', 250) #2 C:\web\xampp\htdocs\formtools\modules\swift_mailer\php5\Swift.php(220): Swift->handshake(Object(Swift_Events_ResponseEvent)) #3 C:\web\xampp\htdocs\formtools\modules\swift_mailer\php5\Swift.php(101): Swift->connect() #4 C:\web\xampp\htdocs\formtools\modules\swift_mailer\library.php(196): Swift->__construct(Object(Swift_Connection_SMTP)) #5 C:\web\xampp\htdocs\formtools\global\code\emails.php(1180): swift_send_email(Array) #6 C:\web\xampp\htdocs\formtools\global\code\emails.php(1149): ft_process_email_template('1', 13, '1') in C:\web\xampp\htdocs\formtools\modules\swift_mailer\php5\Swift.php on line 250
Also...just to clarify...submitted forms do end up in the database but emails aren't sent when using Internet Explorer or Firefox. Using Chrome submissions end up in database and emails are sent correctly.