XF 1.5 Email Issue

Sidradi

Member
Hi xf Staff,

I have an issue when an email must be send :

Code:
#0 /customers/5/7/d/ensa-support.com/httpd.www/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /customers/5/7/d/ensa-support.com/httpd.www/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 /customers/5/7/d/ensa-support.com/httpd.www/library/XenForo/Mail.php(175): Zend_Mail->send(Object(Zend_Mail_Transport_Sendmail))
#3 /customers/5/7/d/ensa-support.com/httpd.www/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
#4 /customers/5/7/d/ensa-support.com/httpd.www/library/XenForo/Model/UserConfirmation.php(210): XenForo_Mail->send('sidradi@outlook...', 'test')
#5 /customers/5/7/d/ensa-support.com/httpd.www/library/XenForo/ControllerAdmin/User.php(948): XenForo_Model_UserConfirmation->processUserModeration(Array, 'reject', true, 'je t'aime')
#6 /customers/5/7/d/ensa-support.com/httpd.www/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_User->actionModeratedUpdate()
#7 /customers/5/7/d/ensa-support.com/httpd.www/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /customers/5/7/d/ensa-support.com/httpd.www/admin.php(13): XenForo_FrontController->run()
#9 {main}
État de la demande
array(3) {
  ["url"] => string(60) "http://www.ensa-support.com/admin.php?users/moderated/update"
  ["_GET"] => array(1) {
    ["users/moderated/update"] => string(0) ""
  }
  ["_POST"] => array(2) {
    ["users"] => array(1) {
      [12] => array(3) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(9) "je t'aime"
        ["notify"] => string(1) "1"
      }
    }
    ["_xfToken"] => string(8) "********"
  }
}

So all my members doesn't recieve any mails !
 
You haven't posted the actual error message but my guess is it's going to be something like
Code:
Zend_Mail_Transport_Exception: Email to example@test.com failed: Unable to send mail. - library/Zend/Mail/Transport/Sendmail.php:137

If so, 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, you can check the server mail log to see why it is failing.

Your host should be able to help with that.
 
You haven't posted the actual error message but my guess is it's going to be something like
Code:
Zend_Mail_Transport_Exception: Email to example@test.com failed: Unable to send mail. - library/Zend/Mail/Transport/Sendmail.php:137

If so, 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, you can check the server mail log to see why it is failing.

Your host should be able to help with that.

I really don't know where to find the error log !
So how will my host help me ?
I have the same issue in another host : OVH :/
 
This is it :

Code:
Zend_Mail_Transport_Exception: Email to Adnan.amrani@gmail.com failed: Unable to send mail. mail(): Policy restriction in effect. The fifth parameter is disabled on this system - library/Zend/Mail/Transport/Sendmail.php:137
Généré par: Compte inconnu, Hier à 23:13
Trace de la pile
#0 /customers/b/1/b/encg-fib.com/httpd.www/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /customers/b/1/b/encg-fib.com/httpd.www/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 /customers/b/1/b/encg-fib.com/httpd.www/library/XenForo/Mail.php(175): Zend_Mail->send(Object(Zend_Mail_Transport_Sendmail))
#3 /customers/b/1/b/encg-fib.com/httpd.www/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
#4 /customers/b/1/b/encg-fib.com/httpd.www/library/XenForo/Model/UserConfirmation.php(241): XenForo_Mail->send('Adnan.amrani@gm...', 'Adnan amrani')
#5 /customers/b/1/b/encg-fib.com/httpd.www/library/XenForo/ControllerPublic/LostPassword.php(84): XenForo_Model_UserConfirmation->sendPasswordResetRequest(Array)
#6 /customers/b/1/b/encg-fib.com/httpd.www/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_LostPassword->actionLost()
#7 /customers/b/1/b/encg-fib.com/httpd.www/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /customers/b/1/b/encg-fib.com/httpd.www/index.php(13): XenForo_FrontController->run()
#9 {main}
État de la demande
array(3) {
  ["url"] => string(42) "http://www.encg-fib.com/lost-password/lost"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(3) {
    ["username_email"] => string(22) "adnan.amrani@gmail.com"
    ["g-recaptcha-response"] => string(974) "03AHJ_VuvxKlUAgBviXyc9cOp_NDnJWlPZanBC7m4x5Gg1G3BkPGE2ztkofD6PIFzwq0OfaeKo6mEYP_5KNvN0opzeXkx7S10ElZ0NDl9wGp_hzuzeonuAF8AMKHF1WXRpoOkQc2uP-cxbHaGSQRL9nNk_Fm2bGQHWybfMgQUH-ywStmQ35LXTEO8qusX4StFDWYxl1jcN0ETb89SffReHTRvOG7c5hl4G_3pVluZtzfifmMT1CriURTzWXAHffJ3yw2TS2iNbdQP-LiGSUztyr7brLtMW_fOOt8wpjyzmSHfyPYQGC8eHMSLa2torRkHdwt2SnRYy1iHa5AsH8MgfLs970KWY86GiQMDYnlD4TPsLvSWZF5E9WDiUCKKJ8wqcct_JIfVl0n6zKknrb7Eg4AT_gM-qCNaWh3PyII_m6THqcmxgXz1ddSRl5xdweKcETy_vLXhuQYoTWi4efm-rktrRK21HIBEYiN3cJR_4_Xhf3iwMPP_HfzVaB8vhZ2B7iVaWJE00wnexLa931l1tSe9XoTi_liVgaZLZqOQhSU7DXGaq7YV1FOFetWb7oRCvGiRLO-olcz3TdVQnHWTHqKPOzusUCCOxdaD3aFEAfnWqIB74EcUW4_FlUkjKab7MKhLg9DsLpy4rQ0eGtoHyMUh3BZfu8G0utuUn1d8yFO7wABTGkI77u_Qnt4LfyvbV_CdBJjNMlWvu95mgpPYXK8JZGBqBbu6t6eRkA3yMYlDSMuU8sISU0aX2azagkV008ujLMuv05dbb1u3zhB2v6ixze_hh7S-wHOwOMbVwbz7-WGASHsoA_8qFoWc7YqzLFzIoB7McCj-XkKNkTUgM7LRFGUip_if47esSt7k2H-pcR4QGyxqaKTt75O4C7Om6kNwZfNEJoc7fVltiLeQHj7YUpYGtnS4zd_B8UynRXkvjcN-4FRCn5_S25UQuuuvocJMsSWHCRIm7"
    ["_xfToken"] => string(8) "********"
  }
}
 
You're likely going to have to contact your host for support then.
Ok in another host i had this message as error, should i still have to contact them to fix this kind of issue ?

Code:
Zend_Mail_Protocol_Exception: Email to xxxxxxxxxx@hotmail.fr failed (after retry): sorry, too many emails [mail428] (#5.7.1) -library/Zend/Mail/Protocol/Abstract.php:431
Généré par: Compte inconnu, Hier à 11:45
 
Back
Top Bottom