[dev] proposal for imp/Filter.php unsupported keywords

Igor Stroh stroh@scan-plus.de
17 Aug 2002 17:16:37 +0200


---------------------- multipart/signed attachment
On Sam, 2002-08-17 at 17:02, Chuck Hagenbuch wrote:
>=20
> Quoting Igor Stroh <stroh@scan-plus.de>:
>=20
> > the current implementation of php's imap module does not support severa=
l
> > search criteria that are covered by imapv4 rfc. The problem is the
> > underlying uw-imap c-client library that can handle only imapv2
> > searches
>=20
> That is a false statement.

Can you prove it?

I can:
>From uw-imap documentation (docs/internal.txt):
...
SEARCHPGM *mail_criteria (char *criteria);
    criteria IMAP2-format search criteria string

     This function accepts an IMAP2-format search criteria string and
parses it.  If the parse is successful, it returns a search program
suitable for use in mail_search_full().
WARNING: This function does not accept IMAP4 search criteria.
...

Furthermore, from imap_search() docs:
...
This list of criteria is from a reading of the UW c-client source code
and may be uncomplete or inaccurate.
...

So why exactly is this statement false?

Greetings,
Igor

---------------------- multipart/signed attachment
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.horde.org/archives/dev/attachments/20020817/5a6d9723/attachment.bin

---------------------- multipart/signed attachment--