XF 2.3 outbound emails not being sent after 2.3 upgrade. Call to undefined function proc_open

Brad Padgett

Well-known member
Licensed customer
I'm getting this error when sendmail or in my case exim is trying to send emails out. Users can't reset their passwords because they don't get the email.

I thought it was directadmin because I just switched to that instead of cpanel but this error pops up each time a user tries and I saw several other threads with the issue.

That answer in the threads on this site I saw said to remove proc_close from disabled functions in php.ini

I did that though and it still doesn't work. I removed proc_open too since the error seems to suggest proc_open is undefined.

Let me know how I can fix this thank you.

Code:
[LIST]
[*]                
[*]Error: Email to b.padgett2010@yahoo.com from admin@mycafetalk.com failed: Call to undefined function Symfony\Component\Mailer\Transport\Smtp\Stream\proc_open()
[*]               
[*]src/vendor/symfony/mailer/Transport/Smtp/Stream/ProcessStream.php:41
[*]            
[*]
[/LIST]
Code:
[HEADING=2]Stack trace[/HEADING]
       
            
#0 src/vendor/symfony/mailer/Transport/SendmailTransport.php(114): Symfony\Component\Mailer\Transport\Smtp\Stream\ProcessStream->initialize()
#1 src/vendor/symfony/mailer/Transport/AbstractTransport.php(72): Symfony\Component\Mailer\Transport\SendmailTransport->doSend(Object(Symfony\Component\Mailer\SentMessage))
#2 src/vendor/symfony/mailer/Transport/SendmailTransport.php(77): Symfony\Component\Mailer\Transport\AbstractTransport->send(Object(Symfony\Component\Mailer\SentMessage), Object(Symfony\Component\Mailer\DelayedEnvelope))
#3 src/XF/Mail/Mailer.php(305): Symfony\Component\Mailer\Transport\SendmailTransport->send(Object(Symfony\Component\Mime\Email))
#4 src/XF/Mail/Mail.php(576): XF\Mail\Mailer->send(Object(Symfony\Component\Mime\Email), Object(Symfony\Component\Mailer\Transport\SendmailTransport))
#5 src/XF/Admin/Controller/ToolsController.php(312): XF\Mail\Mail->send(Object(Symfony\Component\Mailer\Transport\SendmailTransport), false)
#6 src/XF/Mvc/Dispatcher.php(362): XF\Admin\Controller\ToolsController->actionTestEmail(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'TestEmail', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\ToolsController), NULL)
#8 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\ToolsController), NULL)
#9 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#11 src/XF.php(806): XF\App->run()
#12 admin.php(15): XF::runApp('XF\\Admin\\App')
#13 {main}

Code:
[HEADING=2]Request state[/HEADING]
       
            
array(4) {
  ["url"] => string(27) "/admin.php?tools/test-email"
  ["referrer"] => string(49) "https://mycafetalk.com/admin.php?tools/test-email"
  ["_GET"] => array(1) {
    ["tools/test-email"] => string(0) ""
  }
  ["_POST"] => array(2) {
    ["_xfToken"] => string(8) "********"
    ["email"] => string(23) "b.padgett2010@yahoo.com"
  }
}
 
Nevermind my changes didn't take effect yet. It's all squared away now. It was both proc_close and proc_open needing to be removed from php.ini disabled functions. It's just the fact that for some reason my changes didn't save until now but I fixed it thanks.

You can close this thread if you want.
 
Last edited:
It's better to ask you hosting provider to help you because there are a lot of variables to consider. For example, it depends on what Linux distro you are using or what panel your provider provides...
 
Back
Top Bottom