Title: phpmailerException
Last modified: May 22, 2017

---

# phpmailerException

 *  Resolved [prashanthag](https://wordpress.org/support/users/prashanthag/)
 * (@prashanthag)
 * [9 years ago](https://wordpress.org/support/topic/phpmailerexception/)
 * Creating a new lead results in fatal error phpmailerException
 * Fatal error: Uncaught exception ‘phpmailerException’ with message
 * 1.mysite\wp-includes\class-phpmailer.php:1023 2. \wp-includes\pluggable.php(354)
   
   3. mysite\plugins\upi-crm-universal-crm-solution\classes\upicrm_mails.php(182):
   4.\wp-content\plugins\upi-crm-universal-crsolution\admin\upicrm_adds_lead.php(
   99): 5.\wp-content\plugins\upi-crm-universal-crsolution\admin\upicrm_Add_Lead.
   php(180): 6.\wp-content\plugins\upi-crm-universal-crm-solution\admin\upicrm_admin.
   php(353):

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

 *  Plugin Author [Upi](https://wordpress.org/support/users/upi/)
 * (@upi)
 * [9 years ago](https://wordpress.org/support/topic/phpmailerexception/#post-9155524)
 * Hello!
    Can you explain which plug-in and which version are you using? The files
   you provided in the logs are missing from our plugin. Try to remove it and reinstall
   it. upicrm_adds_lead.php upicrm_Add_Lead.php
 *  Thread Starter [prashanthag](https://wordpress.org/support/users/prashanthag/)
 * (@prashanthag)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/phpmailerexception/#post-9230005)
 * I created two custom files 1.upicrm_adds_lead.php 2.upicrm_Add_Lead.php ,
    if
   i add a new lead results in fatal error “phpmailerException”
 *  Plugin Author [Upi](https://wordpress.org/support/users/upi/)
 * (@upi)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/phpmailerexception/#post-9246477)
 * Is there a reason for the files you created? Try to update the plugin
 *  Thread Starter [prashanthag](https://wordpress.org/support/users/prashanthag/)
 * (@prashanthag)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/phpmailerexception/#post-9509008)
 * the issue is fixed(Fatal error: Uncaught exception ‘phpmailerException), open
   functions.php file – it should be in your template folder add the following code
 * add_filter(‘wp_mail_from’, ‘new_mail_from’);
    add_filter(‘wp_mail_from_name’,‘
   new_mail_from_name’); function new_mail_from($old) { return ‘youremailDomain@.
   com’; //You can specify the email address } function new_mail_from_name($old){
   return ‘Domain name’; //You can specify the name that emails should be sent from}
    -  This reply was modified 8 years, 8 months ago by [prashanthag](https://wordpress.org/support/users/prashanthag/).
 *  Plugin Author [Upi](https://wordpress.org/support/users/upi/)
 * (@upi)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/phpmailerexception/#post-9551483)
 * Thank you ! 🙂

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

The topic ‘phpmailerException’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/upi-crm-universal-crm-solution_f5b285.
   svg)
 * [UpiCRM – Lead Management & Affiliates management: Any contact form DB, all leads, Social Networks leads, Google sheets, in one place and more.](https://wordpress.org/plugins/upi-crm-universal-crm-solution/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/upi-crm-universal-crm-solution/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/upi-crm-universal-crm-solution/)
 * [Active Topics](https://wordpress.org/support/plugin/upi-crm-universal-crm-solution/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/upi-crm-universal-crm-solution/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/upi-crm-universal-crm-solution/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Upi](https://wordpress.org/support/users/upi/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/phpmailerexception/#post-9551483)
 * Status: resolved