My Xenforo Website has stopped Sending Mails

DFI

Active member
Can Someone help me out for below Error Message. I have least Idea about all these codes. :(

Zend_Mail_Transport_Exception: Unable to send mail. mail() has been disabled for security reasons - library/Zend/Mail/Transport/Sendmail.php:137

Switching to SMTP Server is not helping.
 
Create a php file called mail.php and add the below into it:

PHP:
<?php
 
if ( function_exists( 'mail' ) )
{
    echo 'mail() is available';
}
else
{
    echo 'mail() has been disabled';
}
 
?>

Call that from your browser, and it will tell you if mail() is available.
 
Back
Top Bottom