• Resolved rerm

    (@rermis)


    Hi, is it possible to send some emails using the plugin ‘WP Mail SMTP’ and other emails through another service? If so, what filter or hook can I call to enable or disable per email?
    Currently I must disable the plugin ‘WP Mail SMTP’ when I need to use the other service and I would rather just conditionally specify these rules in code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Darshana

    (@darshanaw)

    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.

    Plugin Support Darshana

    (@darshanaw)

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multiple Services’ is closed to new replies.