Skip to content

Simple class to interface with an imap server with no dependencies

License

Notifications You must be signed in to change notification settings

AJenbo/Imap.php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Imap.php

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

About

Simple class to interface with an imap server with no dependencies

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages