• Hi, is there an action/filter to switch up the mail server based on the email contents?

    (Or a like in the code to insert a do_action?)

    Using “wp_mail” has access to the email details but not the server info, but at phpmailer_init there is the opposite problem – and only works when mailer type is set to phpmailer.

    I think I’m getting lost in the page/plugin lifecycle and guidance would be great.

  • The topic ‘Hook to change mail server’ is closed to new replies.