hook ‘wp_mail_from_name’ is not being recognized on send
-
Hello friends, I appreciate how solid this plugin is! I am finding documentation is good but a little sparse for developer integration. Love finding ‘fluentsmtp_disable_from_name_email’ and able to override the forced account settings on a per email basis. I am finding that ‘wp_mail_from’ works as expected, but the ‘wp_mail_from_name’ hook is not being recognized and is using the FluentSMTP plugin settings (and force is not selected). Any suggestions on how to fix this? This is the code block I’m using at the moment:
add_filter( 'fluentsmtp_disable_from_name_email', '__return_true' );
add_filter( 'wp_mail_content_type','wpsite_force_set_content_type' );
add_filter( 'wp_mail_from','wpsite_force_updater_wp_mail_from' );
add_filter( 'wp_mail_from_name','wpsite_force_updater_wp_mail_from_name' );
wp_mail( $to, $subject, $message, $headers );For bonus points, it would be awesome if adding “Reply-to” was as simple as this.
- The topic ‘hook ‘wp_mail_from_name’ is not being recognized on send’ is closed to new replies.