mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-22 18:23:18 +02:00
@ -8,6 +8,9 @@ class ModelMailMail extends Model {
|
||||
require_once 'Zend/Mail/Protocol/Smtp.php';
|
||||
require_once 'Zend/Mail/Protocol/Smtp/Auth/Login.php';
|
||||
|
||||
// Workaround for the zend framework
|
||||
$msg = str_replace("\r", "", $msg);
|
||||
|
||||
$ok = 0;
|
||||
|
||||
if($to == "" || strlen($msg) < 30){ return $ok; }
|
||||
|
Reference in New Issue
Block a user