• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

My Xenforo Website has stopped Sending Mails

DFI

Active member
#1
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.
 

MattW

Well-known member
#7
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.