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

XF 1.5 Emails Wont Send

Discussion in 'Troubleshooting and Problems' started by Benjamin Hallman, Dec 28, 2015.

  1. Email conformations or emails in general are not being sent, need some help. Here is the error:
    Code:
    Error Info
    Zend_Mail_Protocol_Exception: Email to support@blockkingdom.org failed: 5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/answer/14257 e38sm26456670qgd.13 - gsmtp - library/Zend/Mail/Protocol/Abstract.php:431
    Generated By: BlockKingdom, 1 minute ago
    Stack Trace
    #0 /var/www/html/library/Zend/Mail/Protocol/Smtp/Auth/Login.php(95): Zend_Mail_Protocol_Abstract->_expect(235)
    #1 /var/www/html/library/Zend/Mail/Protocol/Smtp.php(217): Zend_Mail_Protocol_Smtp_Auth_Login->auth()
    #2 /var/www/html/library/Zend/Mail/Transport/Smtp.php(200): Zend_Mail_Protocol_Smtp->helo('localhost')
    #3 /var/www/html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
    #4 /var/www/html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #5 /var/www/html/library/XenForo/Mail.php(175): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
    #6 /var/www/html/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
    #7 /var/www/html/library/XenForo/Model/UserConfirmation.php(136): XenForo_Mail->send('support@blockki...', 'BlockKingdom')
    #8 /var/www/html/library/XenForo/ControllerPublic/AccountConfirmation.php(104): XenForo_Model_UserConfirmation->sendEmailConfirmation(Array)
    #9 /var/www/html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_AccountConfirmation->actionResend()
    #10 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #11 /var/www/html/index.php(13): XenForo_FrontController->run()
    #12 {main}
    Request State
    array(3) {
      ["url"] => string(51) "http://blockkingdom.org/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. Mike

    Mike XenForo Developer Staff Member

    Your SMTP username and/or password are incorrect. There's a URL in the error to get more information.
     
  3. They are right, I have checked this multiple times. Any other ideas... I really need to get this fixed.
     
  4. Jeremy P

    Jeremy P Well-Known Member

    As Mike suggested, visit the URL to get more information. The username and password might be technically correct but are not being recognized as valid.

    https://support.google.com/mail/answer/14257

    If the Google account has 2FA enabled, you will need to use an App password. Otherwise try the other steps listed at that link, and if nothing else works you may need to use the option to allow less secure apps to access your account.
     

Share This Page