note 15967 deleted from function.imap-search by didou
| From: | didou@php.net | Date: | Sun, 14 Jan 2007 23:52:15 +0000 |
| Subject: | note 15967 deleted from function.imap-search by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121674@lists.php.net to get a copy of this message | ||
Note Submitter: hxlvt at hotmail dot com
----
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.