From 93a4123489d2520061fdeaf5e1925ccfe7000fb8 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Thu, 27 Mar 2014 09:23:39 +0000 Subject: [PATCH] Fix #1580 --- bureau/class/m_mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bureau/class/m_mail.php b/bureau/class/m_mail.php index 6673b404..5ebb1569 100644 --- a/bureau/class/m_mail.php +++ b/bureau/class/m_mail.php @@ -669,6 +669,7 @@ ORDER BY $db->query("UPDATE mailbox SET quota=".intval($quotamb)." WHERE address_id=".$mail_id.";"); } + $recipients=preg_replace('/[\r\t\s]/', "\n", $recipients); // Handle space AND new line $r=explode("\n",$recipients); $red=""; foreach($r as $m) {