Error: Class ‘SMTP’ not found
-
I have installed the WP mail plugin and set it up for smtp mail, but when i use the mail test function I get an error 500 page.
Server version details
Wordpress 4.9.5
WP Mail SMTP 1.6.0
Ubuntu 18.04.3 LTS
PHP Version 7.2.19
Apache/2.4.29this is my error log file details
[Fri Aug 30 02:04:34.640225 2019] [php7:error] [pid 20086] [client xxx.xxx.xxx.xxx:50775] PHP Fatal error: Uncaught Error: Class ‘SMTP’ not found in /usr/share/php/libphp-phpmailer/class.phpmailer.php:1495\nStack trace:\n#0 /usr/share/php/libphp-phpmailer/class.phpmailer.php(1578): PHPMailer->getSMTPInstance()\n#1 /usr/share/php/libphp-phpmailer/class.phpmailer.php(1515): PHPMailer->smtpConnect(Array)\n#2 /usr/share/php/libphp-phpmailer/class.phpmailer.php(1301): PHPMailer->smtpSend(‘Date: Fri, 30 A…’, ‘\\t\\t<!doctype htm…’)\n#3 /usr/share/wordpress/wp-content/plugins/wp-mail-smtp/src/MailCatcher.php(88): PHPMailer->postSend()\n#4 /usr/share/wordpress/wp-includes/pluggable.php(478): WPMailSMTP\\MailCatcher->send()\n#5 /usr/share/wordpress/wp-content/plugins/wp-mail-smtp/src/Admin/Pages/TestTab.php(167): wp_mail(Array, ‘WP Mail SMTP: H…’, ‘\\t\\t<!doctype htm…’, Array)\n#6 /usr/share/wordpress/wp-content/plugins/wp-mail-smtp/src/Admin/Area.php(668): WPMailSMTP\\Admin\\Pages\\TestTab->process_post(Array)\n#7 /usr/share/wordpress/wp-includes/class-wp-hook.php(286): WPMailSMTP\\Admin\\Area->process_actions(”)\n#8 /usr/share/wor in /usr/share/php/libphp-phpmailer/class.phpmailer.php on line 1495, referer: http://xxxxxx/wordpress/wp-admin/admin.php?page=wp-mail-smtp&tab=testSorry if you have already supplied an answer, but I have searched the forum and none of the answers fix my issue
The topic ‘Error: Class ‘SMTP’ not found’ is closed to new replies.