XF 2.0 Emails Not Sending Since Xenforo 2 Upgrade (Server Log Inside)

Chris Radford

Active member
Hello,

All emails are failing since we upgraded to Xenforo 2. At present, settings are set to default.

Server error log
  • ErrorException: Email to info@qualityclientarea.com failed: [E_WARNING] proc_open() has been disabled for security reasons
  • src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:295
  • Generated by: Unknown account
  • May 7, 2018 at 6:17 AM
Stack trace
#0 [internal function]: XF::handlePhpError(2, 'proc_open() has...', '/home/onefootb/...', 295, Array)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(295): proc_open('/usr/sbin/sendm...', 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), NULL)
#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/Service/User/Registration.php(306): XF\Service\User\AbstractConfirmationService->triggerConfirmation()
#9 src/XF/Service/User/Registration.php(265): XF\Service\User\Registration->sendRegistrationContact()
#10 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\User\Registration->_save()
#11 src/XF/Pub/Controller/Register.php(373): XF\Service\User\Registration->save()
#12 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#13 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'register', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Register), NULL)
#14 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#16 src/XF.php(328): XF\App->run()
#17 index.php(13): XF::runApp('XF\\Pub\\App')
#18 {main}
Request state
array(4) {
["url"] => string(28) "/index.php?register/register"
["referrer"] => string(39) "http://onefootballforum.co.uk/index.php"
["_GET"] => array(1) {
["register/register"] => string(0) ""
}
["_POST"] => array(16) {
["username"] => string(0) ""
["c5913c4a885a782d09110692c6c0fe078987723d"] => string(12) "tractorboys2"
["e9c55b55b16547652419939f1ef88934b378ad90"] => string(26) "info@qualityclientarea.com"
["a4e8a1d03df75a060eceac500857da47e088a210"] => string(8) "********"
["dob_month"] => string(2) "10"
["dob_day"] => string(2) "10"
["dob_year"] => string(4) "1991"
["location"] => string(2) "uk"
["custom_fields"] => array(1) {
["supports"] => string(2) "uk"
}
["g-recaptcha-response"] => string(441) "03AJpayVEL7tlwhxjdzfryW4zZnNHX8HyOWdRKaXnogsLD53Q1zY9ZESAAOPNxQ5Okc34_or2WQljQdNtLpLYdes-X8BdN8mGJmZ0ED_hyY6iz0R7d0Gvtik_IgG4PmTPy2JqSxrNfILVd4zvcSluoQNfrPpQsCvF_Qpgc5ve0tV5kIMhFuZ4iYSa9iQi-3wmm9tOXH4H7qmttfdrWND6PzN8nllcrkNXu-GtiDQ0co8nMJLq0Dv2_Y4mrZRsI5yiT-u2xNdxLqH_VbnVu64_IMP9_ix8Bnt_qGSZnwmtXZ5k1t80hT2BRyMgs9MiRu-EPSHapoR5OqJ6-9jlrEik9PE7w6PuAwcs9srJmOPO-s8AX2cxIrUUcbMwE8cQ49Fr4qyJqLCr8dkNNE1m7nqQDTI62aQhi84SZm7HWQfJcPcjPodWAO_YPHsQ"
["reg_key"] => string(16) "0Uhnb5u71bFoq9f5"
["a3a8a81c66fbd3e33f6ecf723e99834e6d45ee6f"] => string(13) "Europe/London"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(10) "/index.php"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}

Can somebody make sense of this? Thank you.
 
Top Bottom