Ilia Alshanetsky wrote:
iliaa Wed Jul 21 17:57:03 2004 EDT
Modified files:
/php-src/ext/imap php_imap.c
Log:
Fixed bug #29209 (imap_fetchbody() doesn't check message index).
# Initial Patch by tony2001 at phpclub dot net
http://cvs.php.net/diff.php/php-src/ext/imap/php_imap.c?r1=1.184&r2=1.185&ty=u
This "fix" breaks retrieving message bodies if not using the sequence
number in imap_fetchbody() but the UID instead.
imap_fetchbody($stream, 1, 1, FT_UID)
doesn't work anymore, while
imap_fetchbody($stream, imap_msgno($stream, 1), 1)
works.
Jan.
P.S.: this patch has been committed to all branches.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php