imap_fetchbody - size limit?
| From: | Andy Clarke | Date: | Mon, 20 Jan 2003 16:56:11 +0000 |
| Subject: | imap_fetchbody - size limit? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-132262@lists.php.net to get a copy of this message | ||
Is there any limitation on the size of attachment that IMAP (especially
functions like imap_fetchbody) can handle?
I am writing a PHP script that will cycle through a number of email accounts
and downloads new messages, storing the subject/body etc in a database and
saving the attachments to the (local) hard disk. The script works fine with
a 3MB attachment, but fails for a 4MB one - the file that it saves for the
larger file has zero length (the script also work fine for a message with
multiple 3MB attachments). As I understand it, there is no limit to the size
of a variable's contents within PHP, so I am assuming that this is an issue
with IMAP.
The script is running on XP, and is being run on the command line.
Thanks
Andy Clarke