PHP Module: IMAP

Last modified: December 4, 2024


Overview

The imap PHP module provides an extension to use the IMAP protocol and other email access methods.

The IMAP PHP module is deprecated and we strongly recommend that you use another module instead, such as PHP-IMAP.

Note:

This document only applies to IMAP with PHP version 8.4 and later.

Compatibility

As of PHP 8.4 this module is only available through the PHP Extension Community Library (PECL).

Requirements

PECL modules have prerequisites and requirements that may vary based on your system’s configuration. For more information, read the IMAP PECL module documentation.

Installation steps

In the interface

You can install this module with WHM’s PHP PECL interface (WHM » Home » Software » PHP PECL).

On the command line

To install the imap PHP module, run the following command, where ## represents your PHP version number:

ea-php##-pecl install imap

Additional Documentation