• I am looking into blocking emails that are being sent via php because I’m having some headaches with what appears to be someone else on my shared server sending out emails and there’s just alot to it – i’m trying to take several approaches to cover all bases. But the thing I want to ask is this – if I block any emails from being sent via php, then how will this affect things like notifications from security plugins, and any gravity forms etc on my site. Is there a proper way to execute this so that those plugins will still work and these spammers wont be able to execute via PHP?

    Thanks

    • This topic was modified 3 years, 8 months ago by Jan Dembowski.
Viewing 1 replies (of 1 total)
  • But the thing I want to ask is this – if I block any emails from being sent via php, then how will this affect things like notifications from security plugins, and any gravity forms etc on my site. Is there a proper way to execute this so that those plugins will still work and these spammers wont be able to execute via PHP?

    You can configure your WordPress site to use an external SMTP provider to deliver all mails, instead of using PHP mail on your hosting account.

    See:

    https://wordpress.org/plugins/wp-mail-smtp/

Viewing 1 replies (of 1 total)
  • The topic ‘Block emails being sent by php – effects? Tips?’ is closed to new replies.