Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Mail from address shows server name (different from other posts!)

Discussion in 'Misc WordPress Requests' started by HudsonValleyWebDesign, Nov 9, 2017.

  1. HudsonValleyWebDesign

    Guest

    Reply To: Mail from address shows server name (different from other posts!), by HudsonValleyWebDesign

    I found this function in my snippets folder –


    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 'Your Name';
    }

    Reply To: Mail from address shows server name (different from other posts!)
     
    #1

Share This Page

Web Hosting