darkhorn Posted September 28, 2009 Share Posted September 28, 2009 This works: <?php $m_search=imap_search ($m_mail, 'UNSEEN FROM "[email protected]"' ?> but this not work: <?php $m_search=imap_search ($m_mail, 'UNSEEN FROM "[email protected]" || "[email protected]"'); ?> What is your suggestion? Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/175841-imap_search/ Share on other sites More sharing options...
phporcaffeine Posted September 28, 2009 Share Posted September 28, 2009 This is a gmail specific thing. Gmail doesn't like the way your passing multiples. Have tried the comma, semi-colon, colon ... etc? Link to comment https://forums.phpfreaks.com/topic/175841-imap_search/#findComment-926559 Share on other sites More sharing options...
darkhorn Posted September 28, 2009 Author Share Posted September 28, 2009 This is a gmail specific thing. Gmail doesn't like the way your passing multiples. Have tried the comma, semi-colon, colon ... etc? or, OR, ||, space, comma, semicolon, colon does not work. I can remove "From" and then add a filter in the further places but just wanted to know whether I can add an "or" or not. Link to comment https://forums.phpfreaks.com/topic/175841-imap_search/#findComment-926561 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.