SMTP error

Home Forums Quform PHP SMTP error

This topic is: not resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16577
    js2020
    Participant

    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.

    #16578
    js2020
    Participant

    I also checked and OpenSSL is enabled.

    #16593
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #16615
    js2020
    Participant

    I’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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy