imap_search() unknown search criterion “OR”
问题 Trying to build a IMAP Search query to filter out specific mails via php code... Pushed into a situation where I must use the "OR" search criteria. <?php $search_string = 'OR (SUBJECT "FedEx" SUBJECT "USPS")'; $search_string = 'OR SUBJECT "FedEx" SUBJECT "USPS"'; $search_string = 'SUBJECT "FedEx" OR SUBJECT "USPS"'; $search_string = 'OR (SUBJECT "FedEx") OR (SUBJECT "USPS")'; $search_string = 'OR (SUBJECT "FedEx") (SUBJECT "USPS")'; //all of the search strings when used separately didn't work