Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ajenbo/imap.php

Simple class to interface with an imap server with no dependencies
https://github.com/ajenbo/imap.php

Last synced: 4 months ago
JSON representation

Simple class to interface with an imap server with no dependencies

Awesome Lists containing this project

README

        

Imap.php
================

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b8ab08f9d74345eca587148c0d3b365c)](https://www.codacy.com/app/AJenbo/imap.php?utm_source=github.com&utm_medium=referral&utm_content=AJenbo/imap.php&utm_campaign=Badge_Grade)

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