Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19128 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37857 invoked by uid 1010); 22 Sep 2005 16:05:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37842 invoked from network); 22 Sep 2005 16:05:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2005 16:05:30 -0000 X-Host-Fingerprint: 212.183.33.129 M2413P001.adsl.highway.telekom.at Received: from ([212.183.33.129:18265] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 79/1A-24510-546D2334 for ; Thu, 22 Sep 2005 12:05:25 -0400 Message-ID: <79.1A.24510.546D2334@pb1.pair.com> To: internals@lists.php.net Date: Thu, 22 Sep 2005 18:05:18 +0200 Organization: IWORKS User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 [ http://iworks.at ] X-Accept-Language: de-AT, de-DE, de, en, en-GB, en-US MIME-Version: 1.0 X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Posted-By: 212.183.33.129 Subject: [PATCH] imap_savebody() From: mike@php.net (Michael Wallner) Hi, Currently there is no way to fetch a big message/attachment through ext/imap if memory_limit is enabled. I'd like to kindly ask for consideration of the following patch: http://dev.iworks.at/PATCHES/imap_savebody.patch.txt The patch introduces a new function imap_savebody(rsrc imap, string file, int msgno, string sect[, int flags]) which will save the specified body section to a file. Thanks, -- Michael - < mike(@)php.net >