ajenbo/imap.php

IMAP over socket

0.9.3 2018-01-12 00:12 UTC

This package is auto-updated.

Last update: 2024-12-14 03:30:56 UTC


README

Codacy Badge

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