We are looking for a simple PHP Class that can connect as an exchange user to the mail server, fetch email items and return them as one or many json array.
The class should get the connection properties by variables like server, port, username, password.
The class should have those functions (answer is always json):
- List all items in the inbox folder with a unique identifier (from email), date and subject line
- Get one item based on the unique identifier. In the response everything should be inside, like subject, body, from, cc, date but also attachements, which all should be inside the json answer with base64encoded data and also the filenames
- Delete one item based on the unique identifier sent through the function
If you are interested in this job, please write the follow line in the start of your bid: apples are for nuts