• Resolved Timothy Wood

    (@codearachnid)


    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.

    • This topic was modified 1 year, 1 month ago by Timothy Wood. Reason: fixing formatting of inline code block
Viewing 1 replies (of 1 total)
  • Plugin Support Amimul Ihsan Mahdi

    (@amimulihsanmahdi)

    Hello there,

    The issue might be related to email sending service you are using. Sometimes, email sending services forced the From Name and Email. Would you please mention which emails sending service you are using so that I can recreate the issue on our end and test it out?

    Let me know the update.

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘hook ‘wp_mail_from_name’ is not being recognized on send’ is closed to new replies.