Php IMAP Box Connector

One of the great things about Internet Apps is the many ways of inputting and outputting data from one or more sources. For example; imagine you have an ordering system and want to make customers aware of their order status; you could send data from the system to their email address and also send them an SMS text message.

This article focuses on a method of getting data into an Internet Application; it could be used for ordering, or in our case for task reporting and management. The prerequisites of this system are an IMAP box, and php with IMAP support enabled.

The idea is that we use the php_imap extension and it’s built in functions to query the IMAP box, we read in the headers and the get the body of the email, which we can then use to open a new support request in our case or do something else.

You can read more about php and IMAP at the php.net IMAP section.

The sample code for the php IMAP connector is available for download below.

Author: 
Luke Tarplin
AttachmentSize
php IMAP Connector1.41 KB
Valid XHTML 1.0 Strict