No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm building an email application that filters emails with certain keywords out of my gmail inbox. Right now, it's working by running a cron job every five minutes and this is killing my server load. I'd like to know if there's a way to add a filter to IMAP so … |
|
I'm using these libraries for an email application I'm building. [CODE=php]$storage = new Zend_Mail_Storage_Imap($imap); if (strpos($storage->getMessage($i),'chocolate') !== FALSE ) { //Move to chocolate folder here } [/CODE] Also, is there a way to put incoming emails from this sender to automatically go into the chocolate folder from now on? ...similar … |