Disabel php mail function

Hello, is there any way we can block the php mail function in winterworx if it causes problems? I have had several problems with clients who have hacked websites and end up sending emails via php mail. I found some ways on the internet, such as disable_functions = mail, but I don’t know if I can use that.


That may work but think the bad users would just install a smtp service or override the disable

The mail Queue should be set to notify if volume reaches a set level and there are some scripts on the forum to stop the smtp if level of mail queue reaches a set number

Many thanks


1 Like