Hi @rermis,
Thanks for reaching out! I apologize, but currently we don’t have a feature to configure multiple mailers within the WP Mail SMTP plugin settings. I’ve added a note of this feature request for our team to consider down the road.
I apologize that we aren’t able to provide what you’re looking for right now. However, we appreciate the suggestion. It’s always helpful to get insights from our users.
Have a good one! 🙂
Thread Starter
rerm
(@rermis)
Hi Darshana,
Thank you for your reply. Is there a way to disable the mail features of ‘WP Mail SMTP’ in code? I’m looking for a way to conditionally send mail through different services on the fly, but I’m unable to when the plugin is active.
Hi @rermis,
Thanks for getting in touch! I apologize as custom development is outside the scope of our support.
However, you may try the following filters to build a custom solution.
remove_action( 'plugins_loaded', [ wp_mail_smtp(), 'get_processor' ] );
remove_action( 'plugins_loaded', [ wp_mail_smtp(), 'replace_phpmailer' ] );
Thanks!
Hey there @rermis,
We haven’t heard from you in more than a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.
Thanks!