diff --git a/webui/model/mail/mail.php b/webui/model/mail/mail.php index 7612f6e4..efb266b4 100644 --- a/webui/model/mail/mail.php +++ b/webui/model/mail/mail.php @@ -34,7 +34,7 @@ class ModelMailMail extends Model { fputs($r, $msg); - if(!preg_match("/\r\n.\r\n$/", $msg)){ + if(!preg_match("/\r\n\.\r\n$/", $msg)){ fputs($r, "\r\n.\r\n"); }