Data being stored, but email not sending using pear - Form not redirecting, page timing out
Hi, I'm setting up a form that send the data in an email to multiple recipients using pear. The data is being stored, but the email is not being sent. In fact, after submit, the page times out after watching the spinner for about 30 sec. There's nothing in the 'email_log' table and the session data looks like this:
array(5) { ["WAVT_mrf2016inserttest_Errors"]=> string(0) "" ["mrf_2016_insert-test_file1"]=> string(0) "" ["mrf_2016_insert-test_file2"]=> string(0) "" ["mrf_2016_insert-test_file3"]=> string(0) "" ["WADA_Insert_mrf_2016"]=> int(60) }
The only thing I didn't know when I set up the pear/smtp stuff was the Path to pear. However, I see this in my insert form, so I don't think that's the problem:
<?php require_once("../webassist/email/PEAR_Mail_using_SMTP_php.php"); ?>
<?php require_once("../webassist/email/mailformatting_php.php"); ?>
I've verified that both of these files are on the server in this location.
Below is some additional info from the php logs ("foo" substituted by me):
[08-Oct-2016 18:08:06 America/Chicago] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /mnt/stor3-wc2-dfw1/486369/1019410/www.foo.com/web/content/Connections/foo.php on line 9
[08-Oct-2016 18:08:07 America/Chicago] PHP Strict Standards: Non-static method Mail::factory() should not be called statically in /mnt/stor3-wc2-dfw1/486369/1019410/www.foo.com/web/content/webassist/email/PEAR_Mail_using_SMTP_php.php on line 190
[08-Oct-2016 18:11:07 America/Chicago] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /mnt/stor3-wc2-dfw1/486369/1019410/www.foo.com/web/content/Connections/foo.php on line 9
[08-Oct-2016 18:11:07 America/Chicago] PHP Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 489
[08-Oct-2016 18:11:07 America/Chicago] PHP Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 263
[08-Oct-2016 18:11:07 America/Chicago] PHP Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 492
[08-Oct-2016 18:11:07 America/Chicago] PHP Deprecated: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 371
This is being hosted at Rackspace.
Any thoughts? Thanks for the help!!!