ajenbo / imap.php
IMAP over socket
Installs: 628
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 5
Forks: 0
Open Issues: 0
pkg:composer/ajenbo/imap.php
Requires
- php: >=7.1
This package is auto-updated.
Last update: 2025-09-14 05:12:10 UTC
README
This is a rewrite of the class found at http://www.phpclasses.org/package/2351-PHP-Access-IMAP-mailboxes-without-PHP-IMAP-extension.html as I found it lacking in some asspects and over reaching in otheres.
It accesses the IMAP server using a TCP socket without using the PHP IMAP extension.
It provides functions for:
- Authenticating (Plain, SASL-IR or Login)
- Get server capabilities
- Listing, search for, creating, renaming and deleting mailboxes
- Manage mailbox subscriptions
- Getting mailbox status
- Uploading mails to a mailbox
- Search for mails
- Managing mail flags
- Copying messages
- Retrieving mail
- Delete mail
The class still acts in a command respond fashion instead of per line evaluation, witch is a violation of the IMAP specefication. Currently it is lacking processessing for fetch responces