Skip to content
Snippets Groups Projects
Unverified Commit 8001e8cb authored by clk's avatar clk
Browse files

Fixed email recipients with comma

parent 012fb402
No related branches found
No related tags found
1 merge request!1842Fixed email recipients with comma
......@@ -823,7 +823,7 @@ class ispcmail {
$recipname = trim(str_replace('"', '', $recipname));
if($rec_string != '') $rec_string .= ', ';
if($recipname && !is_numeric($recipname)) $rec_string .= $recipname . '<' . $recip . '>';
if($recipname && !is_numeric($recipname)) $rec_string .= '"' . $recipname . '"<' . $recip . '>';
else $rec_string .= $recip;
}
$to = $this->_encodeHeader($rec_string, $this->mail_charset);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment