XF2 unable to send password reset mails.

LAPKBH

Member
For security reasons my forum will not send mails!

  • src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:295
Anyone?
 
I can not give the hole thing due to privacy...


  • : [E_WARNING] proc_open() has been disabled for security reasons
  • src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:295


Stack Trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] pro...', '/customers/5/c/...', 295, Array)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(295): proc_open('/usr/sbin/b1sen...', Array, Array)
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(58): Swift_Transport_StreamBuffer->_establishProcessConnection()
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(119): Swift_Transport_StreamBuffer->initialize(Array)
#4 src/XF/Mail/Mailer.php(289): Swift_Transport_SendmailTransport->send(Object(Swift_Message), Array)
#5 src/XF/Mail/Mail.php(335): XF\Mail\Mailer->send(Object(Swift_Message), Object(Swift_SendmailTransport))
#6 src/XF/Service/User/AbstractConfirmationService.php(85): XF\Mail\Mail->send()
#7 src/XF/Service/User/AbstractConfirmationService.php(63): XF\Service\User\AbstractConfirmationService->sendConfirmationEmail()
#8 src/XF/Pub/Controller/LostPassword.php(45): XF\Service\User\AbstractConfirmationService->triggerConfirmation()
#9 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\LostPassword->actionIndex(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:LostPassword', 'Index', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\LostPassword), NULL)
#11 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#13 src/XF.php(328): XF\App->run()
#14 index.php(13): XF::runApp('XF\\Pub\\App')
#15 {main}
 
[E_WARNING] proc_open() has been disabled for security reasons
This bit is the most important bit, because that's the actual error ;)

As the message states, the proc_open function is disabled on your server. It either needs to be enabled, or you will need to switch to sending emails using an SMTP server.
 
Top Bottom