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

    (@mtwk-applied)

    I also changed the default admin email. That’s not working either.

    You can overwrite this by modifying the functions.php file that is located within your theme.

    This file can be accessed via Appearance ->Editor and look for Theme functions OR by FTP wp-content/themes/whatevertheme/functions.php

    Add the following (but modify “admin@domainaddress.com” and “Your Blog” to match what you want the display email address and ‘from’ field to show)

    add_filter('wp_mail_from', 'new_mail_from');
    add_filter('wp_mail_from_name', 'new_mail_from_name');
    
    function new_mail_from($old) {
     return 'admin@domainaddress.com';
    }
    function new_mail_from_name($old) {
     return 'Your Blog';
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Send from on Email- how do I overwrite WordPress as Sender’ is closed to new replies.