• Resolved prashanthag

    (@prashanthag)


    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

    (@upi)

    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

    (@prashanthag)

    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

    (@upi)

    Is there a reason for the files you created? Try to update the plugin

    Thread Starter prashanthag

    (@prashanthag)

    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 ‘[email protected]’; //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 7 years, 5 months ago by prashanthag.
    Plugin Author Upi

    (@upi)

    Thank you ! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘phpmailerException’ is closed to new replies.