Hello, I have a big problem with sending mails from Xenforo.
We are using SMTP, and have tried with Mandrillapp, Google and SendGrid, none works.
We have trippel checked all login information, and they works fine outside Xenforo.
The all give the same error, but I don't really know what do to? Below are the error message:
Error Info
Zend_Mail_Protocol_Exception: Email to XXXX failed: Incorrect authentication data - library/Zend/Mail/Protocol/Abstract.php:431
Generated By: XXX, 2 minuter sedan
Stack Trace
#0 /home/gamebros/public_html/library/Zend/Mail/Protocol/Smtp/Auth/Login.php(95): Zend_Mail_Protocol_Abstract->_expect(235)
#1 /home/gamebros/public_html/library/Zend/Mail/Protocol/Smtp.php(217): Zend_Mail_Protocol_Smtp_Auth_Login->auth()
#2 /home/gamebros/public_html/library/Zend/Mail/Transport/Smtp.php(200): Zend_Mail_Protocol_Smtp->helo('localhost')
#3 /home/gamebros/public_html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#4 /home/gamebros/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#5 /home/gamebros/public_html/library/XenForo/ControllerAdmin/User.php(1145): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#6 /home/gamebros/public_html/library/XenForo/ControllerAdmin/User.php(1050): XenForo_ControllerAdmin_User->_sendEmail(Array, Array, Object(Zend_Mail_Transport_Smtp))
#7 /home/gamebros/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_User->actionEmailSend()
#8 /home/gamebros/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/gamebros/public_html/admin.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(46) "https://XXX/admin.php?users/email-send"
["_GET"] => array(1) {
["users/email-send"] => string(0) ""
}
["_POST"] => array(9) {
["criteria"] => string(88) "{"receive_admin_email":"1","username":"XXX","user_state":["valid"],"is_banned":["0"]}"
["total"] => string(1) "1"
["from_name"] => string(9) "Game Bros"
["from_email"] => string(19) "XX@XXX.XX"
["email_title"] => string(8) "Testmail"
["email_format"] => string(4) "text"
["email_body"] => string(6) "Hejsan"
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}
We are using SMTP, and have tried with Mandrillapp, Google and SendGrid, none works.
We have trippel checked all login information, and they works fine outside Xenforo.
The all give the same error, but I don't really know what do to? Below are the error message:
Error Info
Zend_Mail_Protocol_Exception: Email to XXXX failed: Incorrect authentication data - library/Zend/Mail/Protocol/Abstract.php:431
Generated By: XXX, 2 minuter sedan
Stack Trace
#0 /home/gamebros/public_html/library/Zend/Mail/Protocol/Smtp/Auth/Login.php(95): Zend_Mail_Protocol_Abstract->_expect(235)
#1 /home/gamebros/public_html/library/Zend/Mail/Protocol/Smtp.php(217): Zend_Mail_Protocol_Smtp_Auth_Login->auth()
#2 /home/gamebros/public_html/library/Zend/Mail/Transport/Smtp.php(200): Zend_Mail_Protocol_Smtp->helo('localhost')
#3 /home/gamebros/public_html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#4 /home/gamebros/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#5 /home/gamebros/public_html/library/XenForo/ControllerAdmin/User.php(1145): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#6 /home/gamebros/public_html/library/XenForo/ControllerAdmin/User.php(1050): XenForo_ControllerAdmin_User->_sendEmail(Array, Array, Object(Zend_Mail_Transport_Smtp))
#7 /home/gamebros/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_User->actionEmailSend()
#8 /home/gamebros/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/gamebros/public_html/admin.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(46) "https://XXX/admin.php?users/email-send"
["_GET"] => array(1) {
["users/email-send"] => string(0) ""
}
["_POST"] => array(9) {
["criteria"] => string(88) "{"receive_admin_email":"1","username":"XXX","user_state":["valid"],"is_banned":["0"]}"
["total"] => string(1) "1"
["from_name"] => string(9) "Game Bros"
["from_email"] => string(19) "XX@XXX.XX"
["email_title"] => string(8) "Testmail"
["email_format"] => string(4) "text"
["email_body"] => string(6) "Hejsan"
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}