After upgrade to Drupal 9.2: Call to undefined function escapeshellcmd()

Created on 20 June 2021, about 3 years ago
Updated 22 June 2021, about 3 years ago

I get the following error message:

Call to undefined function Drupal\Core\Mail\Plugin\Mail\escapeshellcmd() in Drupal\Core\Mail\Plugin\Mail\PhpMail::_isShellSafe() (line 165 of core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php).

if I try to send a webform. This error disappears if I remove all mails under "/admin/structure/webform/manage/MY-FORM/handlers".

p.s. but I think the bug is not in webform module.

πŸ› Bug report
Status

Closed: works as designed

Version

6.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Universaldenker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom Mth

    Has anyone found a way around this? My host has disabled escapeshellcmd and it means I can't send emails from Webform.

Production build 0.69.0 2024