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 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (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.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
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
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
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
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
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
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
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
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
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
Internal server error on sending email - 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: Internal server error on sending email (/showthread.php?tid=2381)



Internal server error on sending email - alzy - Feb 15th, 2013

I have v2.2.5 installed and Swift Mailer email test passes. I have run system check module and all tests pass.

I have formtools installed on Appache server with PHP and mysql running on my PC with WinXP. I have a jotforms form installed in formtools set up with email elerts. When I run email test on form, I get internal server error. Formtools collects the submission data but cannot send email alert on form submission. What am I missing?

Thanks!!


RE: Internal server error on sending email - Joe - Feb 15th, 2013

You might want to check out this thread: http://forums.formtools.org/showthread.php?tid=1708

Cheers,

Joe


RE: Internal server error on sending email - alzy - Feb 15th, 2013

(Feb 15th, 2013, 10:31 AM)Joe Wrote: You might want to check out this thread: http://forums.formtools.org/showthread.php?tid=1708

Cheers,

Joe

Checked that thread yesterday but doesn't seem to help. For my installation Swift Mailer mail test works fine and I get no server error, so Gmail parameters are correct but the form initiated email fails.

Any thoughts on what to try?

Thanks


RE: Internal server error on sending email - Joe - Feb 15th, 2013

What is the specific error that is returned?


RE: Internal server error on sending email - alzy - Feb 15th, 2013

(Feb 15th, 2013, 11:01 AM)Joe Wrote: What is the specific error that is returned?

This is the error:

Error: Internal Server Error

Also I have another form that is not integrated into formtools that also works and sends out its email just fine. it uses PHPMailer.


RE: Internal server error on sending email - Joe - Feb 15th, 2013

Also, are you connecting to SMTP over SSL or TLS: http://support.google.com/mail/bin/answer.py?hl=en&answer=13287

Here is an example of Gmail configuration: http://modules.formtools.org/swift_mailer/index.php?page=gmail

Try this out and let me know what happens.


RE: Internal server error on sending email - alzy - Feb 15th, 2013

(Feb 15th, 2013, 11:07 AM)Joe Wrote: Also, are you connecting to SMTP over SSL or TLS: http://support.google.com/mail/bin/answer.py?hl=en&answer=13287

Here is an example of Gmail configuration: http://modules.formtools.org/swift_mailer/index.php?page=gmail

Try this out and let me know what happens.

I checked my configuration and it is the same as in your example. Swiftmailer email test passes with those settings but formtools email alert gives server error.
It looks like my server is working fine with Gmail as SwiftMailer test passes and my other form not integrated with Formtools also sends emails thru PHPMailer but formtools seems to have an issue even though it apparently uses SwiftMailer module which as I say passes its email test.

Any insights woukd be appreciated.


RE: Internal server error on sending email - Joe - Feb 15th, 2013

Try disabling Swiftmailer check to see if the emails send out just using PHP. Let me know if the email send out properly.


RE: Internal server error on sending email - alzy - Feb 15th, 2013

(Feb 15th, 2013, 2:53 PM)Joe Wrote: Try disabling Swiftmailer check to see if the emails send out just using PHP. Let me know if the email send out properly.

Found problem. I didn't have "From" email specified in Recipients tab. With that correction test email is working. Thanks for the help. just a newbie mistake!


RE: Internal server error on sending email - Joe - Feb 18th, 2013

Glad to hear you found the issue.

Cheers,

Joe