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

XF 1.5 Mass Email Issue... Google SMTP

Discussion in 'Troubleshooting and Problems' started by AppleAndMango, Nov 20, 2015.

Tags:
  1. AppleAndMango

    AppleAndMango Active Member

    Hello!

    I tried to send a mass email out this morning though I received the following error... I've tried using Google's SMTP server using SSL/TSL having the same error message.

    Code:
    ErrorException: Email to removed@hotmail.com failed: fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown - library/Zend/Mail/Protocol/Abstract.php:324
    Generated By: Damo, 54 minutes ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'fwrite(): SSL o...', '/var/www/vhosts...', 324, Array)
    #1 /var/www/vhosts/veganforum.org/httpdocs/library/Zend/Mail/Protocol/Abstract.php(324): fwrite(Resource id #61, 'RSET\r\n')
    #2 /var/www/vhosts/veganforum.org/httpdocs/library/Zend/Mail/Protocol/Smtp.php(338): Zend_Mail_Protocol_Abstract->_send('RSET')
    #3 /var/www/vhosts/veganforum.org/httpdocs/library/Zend/Mail/Transport/Smtp.php(203): Zend_Mail_Protocol_Smtp->rset()
    #4 /var/www/vhosts/veganforum.org/httpdocs/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
    #5 /var/www/vhosts/veganforum.org/httpdocs/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #6 /var/www/vhosts/veganforum.org/httpdocs/library/XenForo/Deferred/UserEmail.php(168): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
    #7 /var/www/vhosts/veganforum.org/httpdocs/library/XenForo/Deferred/UserEmail.php(62): XenForo_Deferred_UserEmail->_sendEmail(Array, Array, Object(Zend_Mail_Transport_Smtp))
    #8 /var/www/vhosts/veganforum.org/httpdocs/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_UserEmail->execute(Array, Array, 7.9999940395355, '')
    #9 /var/www/vhosts/veganforum.org/httpdocs/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999940395355, '', false)
    #10 /var/www/vhosts/veganforum.org/httpdocs/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #11 /var/www/vhosts/veganforum.org/httpdocs/library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, '', false)
    #12 /var/www/vhosts/veganforum.org/httpdocs/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_Tools->actionRunDeferred()
    #13 /var/www/vhosts/veganforum.org/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #14 /var/www/vhosts/veganforum.org/httpdocs/admin.php(13): XenForo_FrontController->run()
    #15 {main}
    Request State
    array(3) {
      ["url"] => string(51) "https://veganforum.org/admin.php?tools/run-deferred"
      ["_GET"] => array(1) {
        ["tools/run-deferred"] => string(0) ""
      }
      ["_POST"] => array(3) {
        ["redirect"] => string(53) "https://veganforum.org/admin.php?users/email&sent=262"
        ["execute"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
      }
    }

    I have found this..

    https://xenforo.com/community/threads/fgets-fwrite-in-xenforo-error-log.19451/

    But I'm still having no luck, as far as I'm aware I've sent test emails, password reset emails they seem to work..
     
  2. Mike

    Mike XenForo Developer Staff Member

    It just sounds like the connection was closed when attempting to send the mail. Is this happening for just a few users or many?
     
  3. AppleAndMango

    AppleAndMango Active Member

    Only appears to be happening when I'm trying to send many.
     

Share This Page