Home / functions.php / Change wp_mail_from wordpress
  • Pingback: Tweets that mention Wordpress Change wp_mail_from wordpress – wpsnipp.com Wordpress code snippets for your blog -- Topsy.com()

  • John Van Gorp

    Clever, thanks.
    But the name of the email is still WordPress, any idea how to change that as well?
    function mail-name or something …

  • cruxwireweb

    Too late for John, but if anyone comes across this again, to change the name the mail comes from, the filter is wp_mail_from_name. So something like:

    add_filter(‘wp_mail_from_name’,’from_mail_name’);
    function from_mail_name($content_type) {
    return ‘My Business Name’;
    }

  • ???

    How to delete an address of the sender into email wordpress