Change the email sender header

PHP
// 修改發信電子郵件
function wpb_sender_email( $original_email_address ) {
	return 'service@mail.com';
}
// 修改寄件人名稱
function wpb_sender_name( $original_email_from ) {
	return '寄件人名稱';
}
add_filter( 'wp_mail_from', 'wpb_sender_email' );
add_filter( 'wp_mail_from_name', 'wpb_sender_name' );