Aleksander Machniak
2012-11-30 8afbc8aeea10894bc97902912460cafd4681a42d
Fix attachment Content-Length for in-memory files (#1488844)
1 files modified
2 ■■■ changed files
program/steps/mail/get.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/get.inc
@@ -302,7 +302,7 @@
      // send part as-it-is
      else {
        if ($part->body) {
          header("Content-Length: " . sizeof($part->body));
          header("Content-Length: " . strlen($part->body));
          echo $part->body;
          $sent = true;
        }