XF 1.5 Receiving errors when trying to email users

Hi - We are trying to email all users on our site.

Email, in general, is working as your standard emails are being sent.

But when we first started this process a few 100 emails were sent but eventually it errored out.

We were able to review the gmail account and see the messages in the Sent folder and were getting replies so we know they are going out.

But not all of them. On the admin control panel we got this message:

When we follow the link a few more email are sent and then it errors out with this message:

Server Error
fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown

  1. XenForo_Application::handlePhpError()
  2. fwrite() in Zend/Mail/Protocol/Abstract.php at line 324
  3. Zend_Mail_Protocol_Abstract->_send() in Zend/Mail/Protocol/Smtp.php at line 385
  4. Zend_Mail_Protocol_Smtp->quit() in Zend/Mail/Transport/Smtp.php at line 183
  5. Zend_Mail_Transport_Smtp->resetConnection() in XenForo/Deferred/UserEmail.php at line 175
  6. XenForo_Deferred_UserEmail->_sendEmail() in XenForo/Deferred/UserEmail.php at line 62
  7. XenForo_Deferred_UserEmail->execute() in XenForo/Model/Deferred.php at line 295
  8. XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 429
  9. XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 374
  10. XenForo_Model_Deferred->run() in XenForo/ControllerAdmin/Tools.php at line 159
  11. XenForo_ControllerAdmin_Tools->actionRunDeferred() in XenForo/FrontController.php at line 351
  12. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  13. XenForo_FrontController->run() in /home/tnecom/public_html/dfwareamoms.com/forums/admin.php at line 13

Some background:
The site has been around for almost 15 years, we moved to xenForo about a year ago. We have 2200 members with over 2 million posts.

Any more details needed?




XenForo moderator
Staff member
That sounds like the server is closing the connection, possibly due to too many emails.

You will need to ask your host to monitor and investigate what is happening on the server during the send process.