summaryrefslogtreecommitdiff
path: root/bin/msgexport.sh
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-02-22 14:35:44 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-02-22 14:35:44 +0100
commit7e4d15ff4349111d232882fc5a539ae30eccc178 (patch)
tree800d7e63de23653c9d3ad66c533e71b6da0b9d0e /bin/msgexport.sh
parent0ca978820c1b15bc5816746ef3a9b405da851db5 (diff)
parent8d3d5b42b7a0b53b896f63886135114c7a7544cf (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'bin/msgexport.sh')
-rwxr-xr-xbin/msgexport.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/msgexport.sh b/bin/msgexport.sh
index e98e5fee2..f68688b67 100755
--- a/bin/msgexport.sh
+++ b/bin/msgexport.sh
@@ -58,7 +58,7 @@ function export_mailbox($mbox, $filename)
$from = current(rcube_mime::decode_address_list($headers->from, 1, false));
fwrite($out, sprintf("From %s %s UID %d\n", $from['mailto'], $headers->date, $headers->uid));
- fwrite($out, $IMAP->print_raw_body($headers->uid));
+ $IMAP->get_raw_body($headers->uid, $out);
fwrite($out, "\n\n\n");
progress_update($i+1, $count);