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

XF 1.4 Not sending any emails from default settings

Discussion in 'Troubleshooting and Problems' started by wtgw, Feb 6, 2016.

  1. wtgw

    wtgw Member

    Hi, my site isn't sending any confirmation, lost password, or notification emails. It was working fine for a year and last night it stopped working. The first error I had was table xf_post has crashed and should be repaired. The failed emails started a day after that. I repaired the table and have stopped getting the error logs for no emails but the emails are still not getting sent. Email options is set to default and I haven't changed anything. The first error log is below, email error logs below that.

    Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Table 'xf_post' is marked as crashed and should be repaired - library/Zend/Db/Statement/Mysqli.php:214
    Generated By: Unknown Account, Tuesday at 9:33 PM
    Stack Trace

    #0 /home/smokey8t/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
    #1 /home/smokey8t/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
    #2 /home/smokey8t/public_html/library/XenForo/Model.php(219): Zend_Db_Adapter_Abstract->query('????SELECT post...', 21044, 2)
    #3 /home/smokey8t/public_html/library/XenForo/Model/Post.php(240): XenForo_Model->fetchAllKeyed('????SELECT post...', 'post_id', 21044)
    #4 /home/smokey8t/public_html/library/XenForo/ControllerPublic/Thread.php(68): XenForo_Model_Post->getPostsInThread(21044, Array)
    #5 /home/smokey8t/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Thread->actionIndex()
    #6 /home/smokey8t/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #7 /home/smokey8t/public_html/index.php(13): XenForo_FrontController->run()
    #8 {main}

    Request State

    array(3) {
    ["url"] => string(54) "[removed]/threads/new-member.21044/"
    ["_GET"] => array(0) {
    ["_POST"] => array(0) {

    Zend_Mail_Transport_Exception: Email to [removed]@yahoo.com failed: Unable to send mail. - library/Zend/Mail/Transport/Sendmail.php:137
    Generated By: [removed]Yesterday at 8:15 PM
    Stack Trace

    #0 /home/smokey8t/public_html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
    #1 /home/smokey8t/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #2 /home/smokey8t/public_html/library/XenForo/Mail.php(175): Zend_Mail->send(Object(Zend_Mail_Transport_Sendmail))
    #3 /home/smokey8t/public_html/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
    #4 /home/smokey8t/public_html/library/XenForo/Model/UserConfirmation.php(136): XenForo_Mail->send('[removed]..', '[removed]')
    #5 /home/smokey8t/public_html/library/XenForo/ControllerPublic/AccountConfirmation.php(103): XenForo_Model_UserConfirmation->sendEmailConfirmation(Array)
    #6 /home/smokey8t/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_AccountConfirmation->actionResend()
    #7 /home/smokey8t/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #8 /home/smokey8t/public_html/index.php(13): XenForo_FrontController->run()
    #9 {main}

    Request State

    array(3) {
    ["url"] => string(56) "[remoed]/account-confirmation/resend"
    ["_GET"] => array(0) {
    ["_POST"] => array(5) {
    ["_xfToken"] => string(8) "********"
    ["_xfConfirm"] => string(1) "1"
    ["_xfRequestUri"] => string(18) "/register/register"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You are using the PHP mail function so XenForo passes the email to sendmail or the equivalent on the server.

    The failure is at the server level, so you can check the server mail log to see why it is failing.

    Your host should be able to help with that if you are unsure how to.

Share This Page