URGENT: imap_fetchbody CRLF trouble
| From: | Daniel Reichenbach | Date: | Fri, 07 Sep 2001 11:21:25 +0000 |
| Subject: | URGENT: imap_fetchbody CRLF trouble | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66377@lists.php.net to get a copy of this message | ||
Hy there,
I've got serious problems with the imap_fetchbody function and need help
urgent.
When using $atty = imap_fetchbody($mbox, $i, $b, FT_INTERNAL); to fetch
a base64 encoded attachment, imap_fetchbody replaces CRLF although it
shouldn't. I did RTFM and it says:
--- snap ---
FT_INTERNAL -
The return string is in "internal" format, without any attempt to
canonicalize CRLF.
--- snap ---
Well... obviously this doesn't work. Is there any way i can get this
to work? I need the CRLF's to get to their original CR state. Otherwise
my whole project will fail :o(
Greets,
Daniel