There is many bugs in IMAP
| From: | thorwal2k | Date: | Mon, 03 Apr 2000 14:15:37 +0000 |
| Subject: | There is many bugs in IMAP | ||
| Groups: | php.dev php.dev | ||
| Request: | Send a blank email to php-dev+get-17608@lists.php.net to get a copy of this message | ||
From: thorwal2k@yahoo.com
Operating system: Linux
PHP version: 3.0.15
Bug description: BUG in imap.c
The function imap_fetch_overview do not return any value and can not
handle FT_UID flag.
The function imap_header do not return flags value.
The function imap_headers do not return some flags value.
tmp[0]; tmp[1]; tmp[2]; tmp[3]; tmp[4]; tmp[5];
sprintf (tmp+5,".....); must be change to sprintf(tmp+6,....);
sprintf (tmp+11,"....); must be change to sprintf(tmp+11,...);
tmp[17]=...; to tmp[18]=...;
tmp[18]=...; to tmp[19]=...;
mail_fetchfrom (tmp+18,....); to mail fetch_from(tmp+19,...);
PHP version: 4.0 RC1
Bug description: BUG in imap.c
The function imap_fetch_overview do not return any value and can not
handle FT_UID flag.
the line
" if (myargc <2 || myarc >3 ||
getParameters(ht,myargc,&streamind,&sequence,&flags) == FAILURE) {"
must be change to
" if (myargc <2 || myarc >3 ||
getParameters(ht,myargc,&streamind,&sequence,&pflags) == FAILURE) {"
The function imap_header do not return flags value.
The function imap_headers has the same as in PHP-3.0.15
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com