diff --git a/webui/model/mail/mail.php b/webui/model/mail/mail.php index ef69f3cf..6bd564cc 100644 --- a/webui/model/mail/mail.php +++ b/webui/model/mail/mail.php @@ -36,9 +36,7 @@ class ModelMailMail extends Model { fputs($r, $msg); - if(!preg_match("/\r\n\.\r\n$/", $msg)){ - fputs($r, "\r\n.\r\n"); - } + fputs($r, "\r\n.\r\n"); $l = fgets($r, 4096);