Is the PHP mail() function enabled?
Check if the PHP mail() function is enabled on your hosting.
This PHP function is disabled by default on all hosting packages for security reasons and the reputation of IPs.
On Shared hosting packages, the php mail() function cannot be enabled. However, any other php directive can be enabled upon request.
On VPS packages, although the function is disabled by default, it can be enabled at the client's request. However, you should be aware that most emails sent with the php mail() function will be marked as spam by the recipients and your dedicated IP's reputation may be affected.