Can't change sender email and name in the new version (Gmail API)
-
With the new version (1.6.22), In the Manual Configuration page, “message” tab, I filled in a different Envelope From Address and Message From Address. I also put a piece of code that should set the sender email and name:
add_filter( ‘wp_mail_from’, function( $email ) {
return ‘[email protected]’;
});
add_filter( ‘wp_mail_from_name’, function( $name ) {
return ‘??? ??’;
});
But still the emails come without a name, and from the actual gmail address which actually sends the email ([email protected])I think there’s a problem with the new version, or am I missing something?
thabjs
- The topic ‘Can't change sender email and name in the new version (Gmail API)’ is closed to new replies.