Title: Fatal error: Uncaught exception &#039;phpmailerException&#039;
Last modified: August 22, 2016

---

# Fatal error: Uncaught exception 'phpmailerException'

 *  Resolved [matteo raggi](https://wordpress.org/support/users/whichtransfers/)
 * (@whichtransfers)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-phpmailerexception/)
 * When I try to install it, I get this error:
    `Fatal error: Uncaught exception'
   phpmailerException' with message 'Invalid address: ' in ....wp-includes/class-
   phpmailer.php:797 Stack trace: #0 ....wp-content/plugins/easy-wp-smtp/easy-wp-
   smtp.php(151): PHPMailer->setFrom(NULL, NULL) #1 [internal function]: swpsmtp_init_smtp(
   Object(PHPMailer)) #2 ....wp-includes/plugin.php(571): call_user_func_array('
   swpsmtp_init_sm...', Array) #3 ....wp-includes/pluggable.php(519): do_action_ref_array('
   phpmailer_init', Array) #4 ....wp-content/plugins/ninjafirewall/install.php(721):
   wp_mail('@...', '[NinjaFirewall]...', 'Hi,??This is Ni...') #5 ....wp-content/
   plugins/ninjafirewall/install.php(44): nfw_postsave() #6 ....wp-content/plugins/
   ninjafirewall/ninjafirewall.php(848): require_once('/h in ....wp-includes/class-
   phpmailer.php on line 797` Maybe the problem come from a conflict wit hthe plugin
   EASY WP SMTP? How to patch it?
 * [https://wordpress.org/plugins/ninjafirewall/](https://wordpress.org/plugins/ninjafirewall/)

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

 *  Thread Starter [matteo raggi](https://wordpress.org/support/users/whichtransfers/)
 * (@whichtransfers)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-phpmailerexception/#post-5834227)
 * I deactivated the wp easy smtp plugin and then I installed all without problem,
   thanks for patinece!
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-phpmailerexception/#post-5834244)
 * Hi,
 * It seems it complained about an invalid email address when NinjaFirewall’s sent
   you an email at the end of the installation process.
    I think you should click
   on “NinjaFirewall > Event Notifications” and check the contact email address 
   to ensure it is correct, otherwise you may not receive alerts and notifications.
   You can also test if notifications work simply by logging out of the admin dashboard
   and then logging in again. You should receive an email alert from the firewall.
 *  [quangwilliam212](https://wordpress.org/support/users/quangwilliam212/)
 * (@quangwilliam212)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-phpmailerexception/#post-5834711)
 * I have sames this error. how can I fix it ???.
 * Many thanks
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-phpmailerexception/#post-5834712)
 * Can you try to disable the Easy WP SMTP plugin, install NinjaFirewall and then
   re-enable Easy WP SMTP right after the installation ?

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

The topic ‘Fatal error: Uncaught exception 'phpmailerException'’ is closed to new
replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-phpmailerexception/#post-5834712)
 * Status: resolved