diff --git a/htdocs/core/class/smtps.class.php b/htdocs/core/class/smtps.class.php index 8d8d95369e5..bca65ed5d84 100644 --- a/htdocs/core/class/smtps.class.php +++ b/htdocs/core/class/smtps.class.php @@ -1686,6 +1686,8 @@ class SMTPs } $content .= "--".$this->_getBoundary('mixed').'--'."\r\n"; + } else { + die("Sorry, no content"); } return $content;