Pārlūkot izejas kodu

finally managed to solve the bad Junk after literal output from the
imap-server

stekkel 23 gadi atpakaļ
vecāks
revīzija
c6c52f991f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      functions/smtp.php

+ 1 - 1
functions/smtp.php

@@ -193,8 +193,8 @@ function attachFiles ($fp, $session, $rn="\r\n", $checkdot = false) {
                     if (substr($tmp, $tmp_length - strlen($rn), strlen($rn)) != $rn) {
                         if ($fp) {
                             fputs($fp, $rn);
-			    $length += strlen($rn);
                         }
+			$length += strlen($rn);
                     }