XF 2.3 email error stream_socket_enable_crypto(): SSL operation failed with code 1.

Mr Lucky

Well-known member
This morning from about 1:am to 10:23 am I have a load of email errors. When I check my postmark activity statistics I can see no emails were processed during this time period. Then I see they all seem to start again, with quite a few all sent at 11:52.

SMTP provider is postmark and no setttings in either postmark or the forum admin have changed re: email settings for years. Upgraded to php 8.3 a couple of weeks ago.

Can anyone tell from the error what this might mean?

Thanks


Code:
ErrorException: Email to xxxxxxx@btinternet.com from noreply@cafesaxophone.com failed: [E_WARNING] stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:94
Generated by: Unknown account Sep 16, 2024 at 10:23 AM
Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] str...', '/home/caf/publi...', 94)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(94): stream_socket_enable_crypto(Resource id #248, true, 57)
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php(348): Swift_Transport_StreamBuffer->startTLS()
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(148): Swift_Transport_EsmtpTransport->doHeloCommand()
#4 src/XF/Mail/Mailer.php(297): Swift_Transport_AbstractSmtpTransport->start()
#5 src/XF/Mail/Queue.php(148): XF\Mail\Mailer->send(Object(Swift_Message), Object(XF\Mail\SmtpTransport), Array)
#6 src/XF/Job/MailQueue.php(12): XF\Mail\Queue->run(7.97866)
#7 src/XF/Job/Manager.php(260): XF\Job\MailQueue->run(7.97866)
#8 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 7.97866)
#9 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 7.97866)
#10 job.php(43): XF\Job\Manager->runQueue(false, 8)
#11 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(51) "https://cafesaxophone.com/whats-new/latest-activity"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
Back
Top Bottom