Download the PHP package horde/imap-client without Composer
On this page you can find all versions of the php package horde/imap-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download horde/imap-client
More information about horde/imap-client
Files in horde/imap-client
Package imap-client
Short Description For this package there is no description available.
License
Informations about the package imap-client
Horde_Imap_Client
An IMAP4rev1 / IMAP4rev2 (RFC 3501 / RFC 9051) and POP3 (RFC 1939) client library for PHP.
The package ships two codebases side by side:
src/(namespaceHorde\Imap\Client): the modern, PSR-4, PHP 8.2+ rewrite. Small final classes and immutable value objects, built onHorde\Socket\ClientandHorde\Sasl. This is the recommended API for new code.lib/(Horde_Imap_Client_*): the legacy PSR-0 engine, retained for backward compatibility. Functional but not actively developed.
Modern usage
ImapClient implements ImapProtocol (and MailboxProtocol), plus the
optional ImapAclAware, ImapQuotaAware and ImapMetadataAware
extension interfaces. Pop3Client implements MailboxProtocol.
Message caching is opt-in: pass an ImapCacheStore (backed by any PSR-16
cache) as the fifth ImapClient constructor argument and it is used
transparently across fetch, store and expunge.
Supported extensions
STARTTLS, SASL (via Horde\Sasl), CAPABILITY/ENABLE, IMAP4rev2,
UTF8=ACCEPT, UIDPLUS, MOVE, CONDSTORE/QRESYNC, ESEARCH, SORT/ESORT,
THREAD, LIST-EXTENDED, LIST-STATUS, NAMESPACE, ACL, QUOTA, METADATA,
MULTIAPPEND, CATENATE, BINARY and SEARCH=FUZZY.
Documentation
doc/UPGRADING.md: migrating from the legacylib/API to the modernsrc/clients, with a class-mapping table and before/after examples.doc/examples/imapclient.php: a runnable, read-only IMAP demonstration (capabilities, namespaces, mailbox list, status, fetch, search).doc/examples/pop3client.php: the equivalent POP3 demonstration.doc/POP3CAPABILITIES.md: what the POP3 client implements, what it deliberately does not and a server-compatibility matrix.
License
LGPL 2.1. See the enclosed LICENSE file.