finally managed to solve the bad Junk after literal output from the
imap-server
This commit is contained in:
parent
80347095af
commit
c6c52f991f
1 changed files with 1 additions and 1 deletions
|
@ -193,8 +193,8 @@ function attachFiles ($fp, $session, $rn="\r\n", $checkdot = false) {
|
||||||
if (substr($tmp, $tmp_length - strlen($rn), strlen($rn)) != $rn) {
|
if (substr($tmp, $tmp_length - strlen($rn), strlen($rn)) != $rn) {
|
||||||
if ($fp) {
|
if ($fp) {
|
||||||
fputs($fp, $rn);
|
fputs($fp, $rn);
|
||||||
$length += strlen($rn);
|
|
||||||
}
|
}
|
||||||
|
$length += strlen($rn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue