[imp] imap_search

Michael M Slusarz slusarz@bigworm.colorado.edu
Fri, 9 Aug 2002 10:45:09 -0600


Quoting Igor Stroh <stroh@scan-plus.de>:

| Hi there,
| 
| I wondered if there's a way to search with PHPs imap module using the
| OR <keyword> <keyword> syntax (reversed polish notation). According to
| imap rfc it should be possible, and it actually works with courier imapd
| (tried it in a telnet session), but if I try to do something like
| $search = imap_search($stream, 'OR BODY "foo" SUBJECT "bar"');
| I get "Unknown search criterion: OR" from imap_last_error()...
| Am I doing something wrong or is it just PHP (or the underlying
| c-client) that doesn't support that kind of syntax?
| 
| greetings,
| Igor

Try looking here:
http://marc.theaimsgroup.com/?l=horde-dev&m=102884287200353&w=2

michael

______________________________________________
Michael Slusarz [slusarz@bigworm.colorado.edu]
The University of Colorado at Boulder