• johannf78

    (@johannf78)


    Hi,

    I have a network installation of WordPress with three sites on three different domains.

    Each time WordPress sends out an email it adds “childsite_2+” to the front of the email address. For example: [email protected]
    These emails then do not arrive at the users. How can I disable this?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    That may make some sense for the default WP From: address. Adding it to To: addresses is apparently in error. I don’t see anything in wp_mail() source code that would do this, so I suspect it might be your theme or a plugin that’s responsible. Further investigation is needed.

    In the mean time, you’ll want a more immediate solution. The “wp_mail” filter hook can be used to alter any of the email’s data just before it is sent. You could add some code that searches for a + in any To: address and when found, strips it out along with anything before it.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.