note 15967 added to function.imap-search
| From: | hxlvt at hotmail dot com | Date: | Wed, 10 Oct 2001 16:29:18 +0000 |
| Subject: | note 15967 added to function.imap-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18788@lists.php.net to get a copy of this message | ||
I was wondering if imap_seach() can handle multiple search strings, and tried this to match both
subject and to field:
$bounce = imap_search($new, 'TO "'.$listName.'" SUBJECT
"'.$subject.'"', SE_UID);
Seems it works.
--
http://www.php.net/manual/en/function.imap-search.php
http://master.php.net/manage/user-notes.php?action=edit+15967
http://master.php.net/manage/user-notes.php?action=delete+15967
http://master.php.net/manage/user-notes.php?action=reject+15967