Home › Forums › Quform PHP › SMTP Error: Could not connect to SMTP host
- This topic has 7 replies, 2 voices, and was last updated 11 years, 5 months ago by
jroth.
- AuthorPosts
- February 19, 2014 at 10:15 pm #8794
jroth
ParticipantI’m trying to send form email with SMTP settings and I am getting this error. Tried with gmail and domain account settings.
Attachments:
You must be logged in to view attached files.February 20, 2014 at 10:27 am #8804Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 20, 2014 at 3:04 pm #8811jroth
ParticipantI have OpenSSL enabled but I’m still getting the same error.
Fatal error: Uncaught exception ‘phpmailerException’ with message ‘SMTP Error: Could not connect to SMTP host.’ in /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php:1093
Stack trace:
#0 /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php(971): PHPMailer->SmtpConnect()
#1 /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php(845): PHPMailer->SmtpSend(‘Date: Thu, 20 F…’, ‘–b1_97b856b619…’)
#2 /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php(763): PHPMailer->PostSend()
#3 /data/18/1/142/129/1631944/user/1759131/htdocs/quform/process.php(452): PHPMailer->Send()
#4 /data/18/1/142/129/1631944/user/1759131/htdocs/quform/process.php(506): process(Object(Quform), Array)
#5 {main}
thrown in /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php on line 1093February 21, 2014 at 11:12 am #8814Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 21, 2014 at 3:38 pm #8821jroth
ParticipantThis is what I get. Thank you
Warning: require_once(/data/18/1/142/129/1631944/user/1759131/htdocs/lib/class.phpmailer.php) [function.require-once]: failed to open stream: No such file or directory in /data/18/1/142/129/1631944/user/1759131/htdocs/smtp-check.php on line 11
Fatal error: require_once() [function.require]: Failed opening required ‘/data/18/1/142/129/1631944/user/1759131/htdocs/lib/class.phpmailer.php’ (include_path=’.:/usr/share/php:/usr/services/vux/lib/php’) in /data/18/1/142/129/1631944/user/1759131/htdocs/smtp-check.php on line 11
February 21, 2014 at 3:39 pm #8822Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 21, 2014 at 4:25 pm #8825jroth
ParticipantSMTP -> ERROR: Failed to connect to server: Connection timed out (110)
Fatal error: Uncaught exception ‘phpmailerException’ with message ‘SMTP Error: Could not connect to SMTP host.’ in /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php:1093
Stack trace:
#0 /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php(971): PHPMailer->SmtpConnect()
#1 /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php(845): PHPMailer->SmtpSend(‘Date: Fri, 21 F…’, ‘This is a test …’)
#2 /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php(763): PHPMailer->PostSend()
#3 /data/18/1/142/129/1631944/user/1759131/htdocs/quform/smtp-check.php(59): PHPMailer->Send()
#4 {main}
thrown in /data/18/1/142/129/1631944/user/1759131/htdocs/quform/lib/class.phpmailer.php on line 1093February 21, 2014 at 5:03 pm #8828jroth
ParticipantIt’s my web host blocking pretty much all ports. They only allow email over port 2525. I’m not sure what I’m going to do now.
Thank you for your help again! - AuthorPosts
- You must be logged in to reply to this topic.