XF 2.3 Issues with MailerSend SMTP configuration not working in XenForo

lucien_lies

Active member
Hi everyone,

I'm having trouble setting up MailerSend as the SMTP server for my XenForo installation. I followed all the steps to integrate MailerSend with XenForo, but emails are not sending, and I'm unsure what's causing the problem.

Below are the screenshots of my current configuration and the SMTP credentials in MailerSend:

1727766254296.webp

1727766241753.webp




console error:


Code:
Server error log
Symfony\Component\Mailer\Exception\TransportException: Email to soycarly.fl@gmail.com from admin@foroscuba.com failed: Connection could not be established with host "ssl://smtp.mailersend.net:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number src/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:154
Generated by: Unknown account Oct 1, 2024 at 2:59 AM
Stack trace
#0 [internal function]: Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream->Symfony\Component\Mailer\Transport\Smtp\Stream\{closure}(2, 'stream_socket_c...', '/www/wwwroot/fo...', 157)
#1 src/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php(157): stream_socket_client('ssl://smtp.mail...', 0, '', 60, 4, Resource id #4)
#2 src/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(251): Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream->initialize()
#3 src/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(194): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->start()
#4 src/vendor/symfony/mailer/Transport/AbstractTransport.php(72): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->doSend(Object(Symfony\Component\Mailer\SentMessage))
#5 src/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(136): Symfony\Component\Mailer\Transport\AbstractTransport->send(Object(Symfony\Component\Mailer\SentMessage), Object(Symfony\Component\Mailer\DelayedEnvelope))
#6 src/XF/Mail/Mailer.php(305): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->send(Object(Symfony\Component\Mime\Email))
#7 src/XF/Job/MailSend.php(37): XF\Mail\Mailer->send(Object(Symfony\Component\Mime\Email))
#8 src/XF/Job/Manager.php(275): XF\Job\MailSend->run(8)
#9 src/XF/Job/Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
#10 src/XF/Job/Manager.php(89): XF\Job\Manager->runJobEntry(Array, 8)
#11 job.php(46): XF\Job\Manager->runQueue(false, 8)
#12 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(22) "https://foroscuba.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom