Title: PHP Fatal error: Uncaught exception &#8216;phpmailerException&#8217;
Last modified: December 19, 2016

---

# PHP Fatal error: Uncaught exception ‘phpmailerException’

 *  Resolved [memohernandez](https://wordpress.org/support/users/memohernandez/)
 * (@memohernandez)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-exception-phpmailerexception/)
 * PHP Fatal error: Uncaught exception ‘phpmailerException’ with message ‘Invalid
   address: [gh@test.com](https://wordpress.org/support/topic/php-fatal-error-uncaught-exception-phpmailerexception/gh@test.com?output_format=md)\\
   nTo: [gh@test.com](https://wordpress.org/support/topic/php-fatal-error-uncaught-exception-phpmailerexception/gh@test.com?output_format=md)\\
   nSubject: [aha! Process] New Customer Registration\\n\\nNew customer registration
   on your "aha! Process" store:\\nE-mail: [customeremail@email.com](https://wordpress.org/support/topic/php-fatal-error-uncaught-exception-phpmailerexception/customeremail@email.com?output_format=md)’
   in /nas/content/live/ahaprocess/wp-includes/class-phpmailer.php:946\nStack trace:\
   n#0 /nas/content/live/ahaprocess/wp-includes/pluggable.php(352): PHPMailer->setFrom(‘
   gh@test.com’, ‘In…’, false)\n#1 /nas/content/live/ahaprocess/wp-content/plugins/
   shopp/core/library/Core.php(1781): wp_mail(NULL, NULL, ”, Array)\n#2 /nas/content/
   live/ahaprocess/wp-content/plugins/shopp/core/model/Customer.php(251): ShoppCore::
   email(‘From: “Test…’)\n#3 /nas/content/live/ahaprocess/wp-content/plugins/shopp/
   core/flow/Registration.php(187): ShoppCustomer->notification()\n#4 /nas/content/
   live/ahaprocess/wp-content/plugins/shopp/core/flow/Order.php(654): ShoppRegistration::
   process()\n#5 [internal function]: ShoppOrder->accounts(Object(AuthedOr in /nas/
   content/live/ahaprocess/wp-includes/class-phpmailer.php on line 946, referer:

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

 *  Thread Starter [memohernandez](https://wordpress.org/support/users/memohernandez/)
 * (@memohernandez)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-exception-phpmailerexception/#post-8623894)
 * Fixed with [Postman](https://wordpress.org/plugins/postman-smtp/)
 *  [mlerley](https://wordpress.org/support/users/mlerley/)
 * (@mlerley)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-exception-phpmailerexception/#post-8627435)
 * This is actually caused by a bug that I can’t believe nobody has noticed or fixed.
   Line 251 of core/model/Customer.php is:
 * if ( ! Shopp::email(join(‘\n’, $_)) )
 * and should be:
 * if ( ! Shopp::email(join(“\n”, $_)) )
 * Can’t believe nobody at Shopp has fixed this…
 *  Anonymous User 8483292
 * (@anonymized-8483292)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-exception-phpmailerexception/#post-8934762)
 * The result of a code cleanup action. It happens. It is also fixed btw.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/shopp_9fa7a1.svg)
 * [Shopp](https://wordpress.org/plugins/shopp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shopp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shopp/)
 * [Active Topics](https://wordpress.org/support/plugin/shopp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shopp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shopp/reviews/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: Anonymous User 8483292
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-exception-phpmailerexception/#post-8934762)
 * Status: resolved