The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Swiftmailer gives Internal Server Error - 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 gives Internal Server Error (/showthread.php?tid=1708) |
Swiftmailer gives Internal Server Error - twelph - Oct 19th, 2011 In the new Formtools it's still not possible to enable email notification with a Form. When I test the mail within the Modules/Swiftmailer it works fine. A test from the E-mail setup in Forms gives an error: Error: Internal Server Error Does anyone know a solution to this? Best, Sander RE: Swiftmailer gives Internal Server Error - Ben - Oct 25th, 2011 Hi Twelph, Hmmm! Tricky one, I'm not sure what to suggest. Are you running 2.1.5? If so, could you install the System Check module and run the 3 tests on your system? (File Verification, Hook Verification & Table Verification) http://modules.formtools.org/system_check/ If you're running an earlier 2.1.x, mind just upgrading? - Ben RE: Swiftmailer gives Internal Server Error - kwhitlock - Nov 21st, 2012 I have the exact same problem RE: Swiftmailer gives Internal Server Error - Joe - Nov 21st, 2012 Hi Kellie, An Internal Server Error could be caused by any number of issues. As Ben recommended above, you should start with a system check. If everything is fine with the system check you may want to confirm that your SMTP server is valid. An invalid SMTP server may result in an Internal Server Error. Try giving it a test with Gmail's SMTP if you have a Gmail account, follow this example: http://modules.formtools.org/swift_mailer/index.php?page=gmail Please note Gmail uses TLS with port 465. RE: Swiftmailer gives Internal Server Error - ironchef1369 - Nov 27th, 2012 I am having the same issue and I'm using the Gmail SMTP. I just did an upgrade to the latest version (2.2.5), and ran the system check and everything checks out fine. I cannot test emails via the form itself, and from the Swift Mailer settings, the testing of the SMTP server continually responds with invalid authentication. To test this, I used the same credentials to create an Apple Mail account and they work fine for sending email through that SMTP server and credentials. The error for "Internal Server Error" appears as soon as I open the email settings for a particular form and click on "test." RE: Swiftmailer gives Internal Server Error - ironchef1369 - Nov 27th, 2012 OK I figured this problem out. It's a permissions issue. This form tools installation was migrated from another server and after some investigation of the server log, I saw a ton of errors regarding the group having edit permissions on a lot of the folders. Chmod -R 755 on the entire formtools folder seemed to have solved the problem for me altogether. In addition to that, if you're using a WHM server, make sure that your SMTP Restrictions are disabled. This prevents any user in WHM from accessing a remote SMTP altogether to block potential spammers. RE: Swiftmailer gives Internal Server Error - Joe - Nov 30th, 2012 Hey Ironchef1369, Thanks for the additional details. Swiftmailer Internal Server errors are can be caused by any number of issues and your solution is very helpful to have. |