Feb 4th, 2014, 8:53 AM
(This post was last modified: Feb 4th, 2014, 9:00 AM by Chris Spires.)
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.
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.