PHP applications like WordPress, Joomla etc. send mail using a PHP feature (aka function) called “mail()”.
Hackers largely exploit the PHP mail function for spamming.
No wonder, Webhosting companies disable PHP mail function on the server as a rule of thumb.
This causes mail from applications like wordpress to fail with the following error.