Advice Please - mail error....Sending To: ... mail() has been disabled for security reasons
I am just setting up a site, where an email is to be sent if a certain trigger is fired.
I set up the email as usual but nothing is being sent.
So i set up email logging and get the error as shown above.
I contact my hosting provider, as I thought this was strange, as I already have 5 or 6 sites hosted with them, and rely on this service for ecommerce sites created using ecart. - never had the problem before,
As it happens, they have been taken over recently, so I wondered if it was a coincidence.
Anyway after a few messages, I get the following response...
"The more we research this, the more it seems wisest to steer clear of PHP|Mail as cPanel is making it much more difficult to provide a stable environment for this feature, likely due to security concerns. Which is actually fine by me as we have seen a variety of outdated code be hijacked and exploited for this purpose over the past year.. I know this isn't supremely helpful news in the slightest. I know that any changes we make will be all-too-likely overridden by cPanel's update processes as Exim is patched up & adjusted, in future releases. We are now advising users to make use of strict SMTP-authentication plug-ins and applicable code snippets to replace the 'auto-authenticated' passthrough that certain older functions allow.
It's not a real life solution, I am well aware of that. That said, I honestly do think it's the wisest way forward considering the circumstances and please let us know if you have any questions about implementation, we're fully able to help you research this. "
I don't know what to make of this.
I also suspect my other sites may have stopped sending confirmation emails, though this is yet to be confirmed
Grateful for any advice.