Smiling Souls

Steeped in the delicious tea like leaves of anthroposophy for the evolving soul.

Mail_IMAP Installation


Mail_IMAP requires the PHP imap (c-client) extension.

  • Mail_IMAP requires the c-client library (the imap extension) to connect to and interact with mail servers. For Windows the c-client library is included in the zip distribution of PHP, and is included as a DLL, see php.ini for installation instructions.

    For Mac and Linux operating systems, you have several options. First, you can download and compile c-client, and then compile PHP with c-client enabled, see the imap extension documentation for more information. Or you may compile only the imap extension (without recompiling PHP) and include the resulting extension in php.ini. Or you may simply use your favorite package manager to install the extension, provided that the extension is available in your repository of choice (going this route, you'll likely already have installed php using the same package manager, ensuring compatibility between php and the extension).

    I found the instructions on this website helpful for compiling the imap extension for Mac OS X Mountain Lion. These instructions can be used to add the imap extension to the PHP built into OSX, or to add the imap extension to php obtained from a Mac package repository, or to a version of PHP you compiled yourself.

  • Mail_IMAP used to require PEAR as well (having previously been a PEAR package), but the dependencies on PEAR have been completely removed and PEAR is no longer required.

Installing Mail_IMAP

Unzip the package, move the scripts it contains to a suitable location, and include them in your script(s) as needed.


There are no comments posted at this time.

Leave a Comment

Simple HTML is allowed: <code>, <b>, <i>, <u>, <var>, <strong>, <em>, <blockquote>, <ul>, <ol>, <li>, <p> (no attributes). All spacing and line breaks in your comment will be preserved.

* All comments are moderated and are subject to approval.
Your comment will appear once it has been approved.
Posting multiple times will not expedite the approval process.

Comments are closed at this time.

© Copyright 2015 Hot Toddy, All Rights Reserved.