Details
Description
Can I patch it ?
in packages/Mail/sendmail.php line 118
list($from, $text_headers) = $headerElements;
if (!isset($from))
{ return PEAR::raiseError('No from address given.'); } elseif (strpos($from, ' ') !== false ||
strpos($from, ';') !== false ||
strpos($from, '&') !== false ||
strpos($from, '`') !== false)
$from = escapeShellCmd($from);
$mail = @popen($this->sendmail_path . (!empty($this->sendmail_args) ? ' ' . $this->sendmail_args : '') . " -f$from – $recipients", 'w');