Title: PHPMailer error
Last modified: November 26, 2018

---

# PHPMailer error

 *  Resolved [Dekadinious](https://wordpress.org/support/users/dekadinious/)
 * (@dekadinious)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/phpmailer-error/)
 * I get this error when trying to send a test e-mail
 * Fatal error: Uncaught Error: Class ‘PHPMailer’ not found in /wp-content/plugins/
   easy-wp-smtp/easy-wp-smtp.php:238 Stack trace: #0 /wp-content/plugins/easy-wp-
   smtp/easy-wp-smtp-admin-menu.php(166): swpsmtp_test_mail(‘REDACTED’, ‘Test’, ‘
   test’) #1 /wp-includes/class-wp-hook.php(286): swpsmtp_settings(”) #2 /wp-includes/
   class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #3 /wp-includes/plugin.
   php(453): WP_Hook->do_action(Array) #4 /wp-admin/admin.php(224): do_action(‘settings_page_s…’)#
   5 /wp-admin/options-general.php(10): require_once(‘REDACTED’) #6 {main} thrown
   in /wp-content/plugins/easy-wp-smtp/easy-wp-smtp.php on line 238

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/phpmailer-error/#post-10918948)
 * Hi, can you let us know what PHP version is your server running?
 * Thank you
 *  Thread Starter [Dekadinious](https://wordpress.org/support/users/dekadinious/)
 * (@dekadinious)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/phpmailer-error/#post-10920118)
 * Yes, it is running 7.2 at the moment. Are there some options I need to enable
   maybe?
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/phpmailer-error/#post-10920340)
 * Hi, I have submitted a message to the developers to investigate further your 
   issue.
 * Thank you
 *  Thread Starter [Dekadinious](https://wordpress.org/support/users/dekadinious/)
 * (@dekadinious)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/phpmailer-error/#post-10928796)
 * It was a problem on my end. The file PHPMailer in wp-includes was 0 kb. I uploaded
   a new one from a downloaded WordPress and everything works.
 * Thank you!
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/phpmailer-error/#post-10928819)
 * I am glad to hear 🙂
 * Enjoy the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHPMailer error’ is closed to new replies.

 * ![](https://ps.w.org/easy-wp-smtp/assets/icon.svg?rev=3158017)
 * [Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more](https://wordpress.org/plugins/easy-wp-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-wp-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-wp-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-wp-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-wp-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-wp-smtp/reviews/)

## Tags

 * [phpmailer](https://wordpress.org/support/topic-tag/phpmailer/)

 * 5 replies
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/phpmailer-error/#post-10928819)
 * Status: resolved