PHP IMAP Search: Find and save messages in IMAP server to database

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 209 This week: 2All time: 8,270 This week: 103Up
Version License PHP version Categories
base_imap 1.0GNU General Publi...5Email, PHP 5, Databases, Searching
Description Author

This class can find and save messages in IMAP server to database.

It can connect to a given IMAP server and access a given mailbox account.

The class can search for messages in the mailbox based on given criteria like ALL, ANSWERED, BCC, BEFORE, BODY, CC, DELETED, FLAGGED, FROM, KEYWORD, NEW, OLD, ON "date", RECENT, SEEN, SINCE, SUBJECT, TEXT "string", TO, UNANSWERED, UNDELETED, UNFLAGGED, UNKEYWORD "string" and UNSEEN.

The found messages can be saved to a MySQL database table using MySQLi.

Picture of Abhijit Jagtap
  Performance   Level  
Name: Abhijit Jagtap <contact>
Classes: 1 package by
Country: India India
Age: 28
All time rank: 4047284 in India India
Week rank: 150 Up17 in India India Up

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file example.php Example To find the unread emails when looping through look for the ->Unseen property like so:
Accessible without login Plain text file mails.sql Data sql file

  Files folder image Files  /  src  
File Role Description
  Plain text file imap.php Class class file

 Version Control Unique User Downloads Download Rankings  
This week:2
All time:8,270
This week:103Up
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.