Change the default wordpress@ email address
By default WordPress emails, such as comment notifications, are sent from
WordPress <wordpress@yourdomain.com>
Not entirely sure why WordPress doesn’t have a built-in option to change this but if you want to change it simply add this to your functions.php fileā¦
1 2 3 4 5 6 7 8 9 10 |
// Change default WordPress email address add_filter('wp_mail_from', 'new_mail_from'); add_filter('wp_mail_from_name', 'new_mail_from_name'); function new_mail_from($old) { return 'yourname@yourdomain.com'; } function new_mail_from_name($old) { return 'Your Name'; } |
Obviously substituting ‘yourname@yourdomain.com’ and ‘Your Name’