Viewing 1 replies (of 1 total)
  • Thread Starter didr

    (@didr)

    I found the solution. Here is it:
    Put into the functions.php of your theme
    add_filter( ‘wp_mail_from’, ‘custom_wp_mail_from’ );
    function custom_wp_mail_from( $original_email_address ) {
    //Make sure the email is from the same domain
    //as your website to avoid being marked as spam.
    return ‘your email address’;
    }
    add_filter( ‘wp_mail_from_name’, ‘custom_wp_mail_from_name’ );
    function custom_wp_mail_from_name( $original_email_from ) {
    return ‘your name’;
    }
    Alternatively, build up a plugin with this content.

Viewing 1 replies (of 1 total)
  • The topic ‘Change sender email address’ is closed to new replies.