Registry / networking / php-imap-php-imap

php-imap-php-imap

JSON →
library6.0.0phppackagistunverified

Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP).

composer require php-imap/php-imap
INSTALL
IMPORT
SIG · PHP-IMAP-PHP-IMAP
P
php-imap-php-imap
networkingphpv6.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mailbox
use PhpImap\Mailbox;

Connect to an IMAP mailbox and search for all emails.

use PhpImap\Mailbox; $mailbox = new Mailbox( '{imap.example.com:993/imap/ssl}INBOX', 'user@example.com', 'password' ); $mailsIds = $mailbox->searchMailbox('ALL');
Debug
Known issues
breakingRequires PHP IMAP extension (ext-imap) to be installed.
fix
Install the IMAP extension via your package manager or compile PHP with --with-imap.
affects: >=6.0.0
Upgrade
Version history
6.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
php-imap-php-imap — pip install php-imap-php-imap · libregistry