How to change WordPress default Email From Name and From Address

WordPress sends by default an email from wordpress@domainname.com with WordPress as sender name. This can be adjusted easily via a filter. Change the From Address The filter will change the From address from wordpress@ to the value you specify. function new_mail_from( $from_email ) { $from_email = ‘myownemail@domainname.com’; return $from_email; } add_filter( ‘wp_mail_from’, ‘new_mail_from’ ); Change […]