Jump to content

Error Message shown when trying sending email


CyberDaeng

Recommended Posts

Hi,

 

I recently have a problem when I try to send email from the WHMCS Portal to my client.

 

Email Sending Failed - SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

 

Email Queue Processing Completed

 

Fatal error: Uncaught exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away (SQL: delete from `tblemailtemplates` where `name` = Mass Mail Template) (SQL: delete from `tblemailtemplates` where `name` = Mass Mail Template)' in /home/xxxxxxx/public_html/clients/includes/classes/WHMCS/Terminus.php:0 Stack trace: #0 /home/xxxxxxx/public_html/clients/includes/classes/WHMCS/Terminus.php(0): WHMCS\Terminus::whmcsExceptionHandler() #1 [internal function]: WHMCS\Terminus->whmcsExceptionHandler(Object(Illuminate\Database\QueryException)) #2 {main} thrown in /home/xxxxxxx/public_html/clients/includes/classes/WHMCS/Terminus.php on line 0

I'm very sure that the SMTP Setting is 100% correct.

Looking forward to hear from you soon.

 

 

Cheers...

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

This error means that your MySQL Server is closing the connection WHMCS is using. This is usually due to the timeout value being set too low to allow all the tasks to be completed.

 

You'd need to work with your server admin/hosting provider to increase the wait_timeout and perhaps also the max_allowed_packet values in the MySQL Configuration. Other values that might be causing this are the connectiontimeout in Apache/connTimeout in Litespeed.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated