Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter muydelpalo

    (@muydelpalo)

    So, I’ve been doing some testing and it turns out the same thing happens with the plugin BackWPuP. It is supposed to send notifications from an email but it is overridden by it also gets the main email. I guess something is overriding it, maybe another plugin… You ever heard about this?

    Thread Starter muydelpalo

    (@muydelpalo)

    Ok, this feels kind of stupid but just in case someone else has this issue check your functions.php file and delete the following lines:

    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]';
    }
    function new_mail_from_name($old) {
     return 'name';
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘From field fetches wrong email’ is closed to new replies.