noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 02/02: Recover : cannot send mail without att


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/02: Recover : cannot send mail without attach cause 'malformed lines'
Date: Sat, 15 Apr 2017 07:24:43 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 89da21827ff7318e2e8040fa60c47a68dcbc7895
Author: Dany De Bontridder <address@hidden>
Date:   Sat Apr 15 13:18:38 2017 +0200

    Recover : cannot send mail without attach cause 'malformed lines'
---
 include/lib/class_sendmail.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/lib/class_sendmail.php b/include/lib/class_sendmail.php
index 53b849d..ad2d516 100644
--- a/include/lib/class_sendmail.php
+++ b/include/lib/class_sendmail.php
@@ -144,6 +144,8 @@ class Sendmail
             $this->content.=$eol;
             $this->content .= $content . $eol ;
         }
+        if ( count ($this->afile) == 0 ) $this->content.=$eol;
+
         $this->content .= "--" . $separator . "--";
     }
     /**



reply via email to

[Prev in Thread] Current Thread [Next in Thread]