Writing an efficient cron job script utilizing Zend_Mail_Storage_Imap.
- by fireeyedboy
I'm new to the IMAP protocol and Zend_Mail_Storage and I'm writing a small php script for a cron job that should regularly poll an IMAP account and check for new messages, and send an e-mail if new messages have arrived.
As you can imagine, I want to only poll the IMAP account for relevant messages, and I only want to send a new e-mail if new…