Custom PHP IMAP class

CLOSED
Bids
11
Avg Bid (USD)
$877
Project Budget (USD)
$50 - $1000

Project Description:
Hi all,

I need a custom written IMAP class for PHP which doesn't rely on the PHP IMAP extension or the Zend framework. I should be able to use it as a standalone class. I know the IMAP support of the Hastymail project is very reliable and fast and that's the one where it should be based on. I want it to be a single class, not a whole bunch of classes. Most important is PERFORMANCE, which the Zend framework and PHP_IMAP lack unfortunately.

Requirements
- Single class in one file
- It should support IMAPS (for use with Gmail)

Needed methods
This is to illustrate my needs, the names don't necessarily have to be the same.

getters and setters
- server address
- username
- password
- etc...

connect / disconnect
- to connect or disconnect to / from the server

getLastError / getError
- to see if something went wrong during the request

getMailboxes
- return a threaded list of mailboxes with:
-- mailbox name
-- mailbox id
-- number of messages
-- number of unread messages

findEmails
- return array of email id's
- need to be able to set a number of email id's to fetch
- need to be able to set the mailbox id to fetch emails from
- need to be able to set the message flag (read, unread, etc.) to fetch
- need to be able to set the sorting direction based on date

getEmail
- return array of emails
- return all message parts and all fields available

Note: if it's more efficient to find and get emails at once and return an array that's fine with me. Performance is the most important!

deleteEmail (or deleteEmails)
- delete an email from the server based on ID

setEmailStatus
- set the status of an email to READ or UNREAD based on ID

Please think twice before you bid on this project. I want high quality and high performance and the class needs to be well documented.
If you have any other ideas feel free to contact me, my ideas above aren't necessarily the best.

Regards,

Marco

Skills required:
PHP, Software Architecture
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 809
in 10 days
Hire rajeshsonisl
$ 1666
in 15 days
$ 994
in 12 days
Hire stdhtelkom
$ 1000
in 12 days
$ 541
in 14 days
$ 1030
in 25 days
$ 583
in 3 days
$ 222
in 3 days
$ 555
in 10 days
$ 1030
in 15 days