Hook before WP sends email
-
I’m looking for a hook I can use to examine the destination address of an email before it’s sent. For example, it appears that phpmailer_init fires before each outgoing email, but that appears to give me everything except the “To” address.
And (I just realized) phpmailer_init doesn’t fire for all outgoing email.
Is there someplace I can hook in to get the To address for any email sent from wordpress, or are there per-plugin considerations?
Many thanks!
-Mike
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Hook before WP sends email’ is closed to new replies.