Skip to content

Commit b351dde

Browse files
author
Till Brehm
committed
Merge branch 'fix_email_comma' into 'develop'
Fixed email recipients with comma Closes #6631 See merge request ispconfig/ispconfig3!1842
2 parents 0160729 + 8001e8c commit b351dde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/ispcmail.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ public function send($recipients) {
823823
$recipname = trim(str_replace('"', '', $recipname));
824824

825825
if($rec_string != '') $rec_string .= ', ';
826-
if($recipname && !is_numeric($recipname)) $rec_string .= $recipname . '<' . $recip . '>';
826+
if($recipname && !is_numeric($recipname)) $rec_string .= '"' . $recipname . '"<' . $recip . '>';
827827
else $rec_string .= $recip;
828828
}
829829
$to = $this->_encodeHeader($rec_string, $this->mail_charset);

0 commit comments

Comments
 (0)