Home › Forums › Quform PHP › SMTP error
- This topic has 3 replies, 2 voices, and was last updated 9 years, 3 months ago by js2020.
- AuthorPosts
- August 22, 2015 at 5:44 am #16577js2020Participant
When configuring the SMTP settings in process.php with the following:
$config['smtp'] = array(
'host' => 'smtp.google.com',
'port' => 465,
'username' => 'My username',
'password' => 'My password',
'encryption' => 'SSL'
);
I Get:
Fatal error: Uncaught exception ‘phpmailerException’ with message ‘SMTP connect() failed.’ in E:\rotl\quform\lib\class.phpmailer.php:1216 Stack trace: #0 E:\rotl\quform\lib\class.phpmailer.php(1059): PHPMailer->smtpSend(‘Date: Fri, 21 A…’, ‘–b1_79dbbac300…’) #1 E:\rotl\quform\lib\class.phpmailer.php(966): PHPMailer->postSend() #2 E:\rotl\quform\process.php(389): PHPMailer->send() #3 E:\rotl\quform\process.php(443): process(Object(Quform), Array) #4 {main} thrown in E:\rotl\quform\lib\class.phpmailer.php on line 1216
From a previous recommendation, I ran the mailer test for further debugging and received:
Fatal error: Class ‘SMTP’ not found in E:\rotl\quform\lib\class.phpmailer.php on line 1194
Where have I erred? When using a .com email, I have no problems. I have set up SMTP with the same settings on my server as well.
August 22, 2015 at 5:45 am #16578js2020ParticipantI also checked and OpenSSL is enabled.
August 24, 2015 at 11:12 am #16593AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 25, 2015 at 1:47 am #16615js2020ParticipantI’m almost certain I used that as well on another attempt but I’ll try it again and get back to you. I’ve set it up for a .com address again but will give it another shot because the gmail address would be preferable. Thank you.
- AuthorPosts
- You must be logged in to reply to this topic.