cPanel API email management

CLOSED
Bids
5
Avg Bid (GBP)
£112
Project Budget (GBP)
£20 - £50

Project Description:
I'm looking for a PHP dev to integrate with the cPanel API to manage cPanel-created email addresses and forwards.
IT SHOULD NOT USE PAGE SCRAPING which has been commonplace in the past for cPanel. It must use the API. If you use the classes below, it should be even easier. I think it would be best.

It's well documented so should be straightforward. It's just bringing it all together into a class.

http://docs.cpanel.net/twiki/bin/view/ApiDocs/Api2/ApiEmail

Someone has also created some PHP classes to connect with the API. Probably makes sense to use this. I'd have preferred to use json but happy if this is easy enough.

https://github.com/CpanelInc/xmlapi-php

I require an email class to be written for my specific purposes, and all the necessary HTML forms created to create a completely functional email management platform.

Functionality required.

1. List all email addresses on the system
Including:
a)email address
b) usage/quota (19 / 100 MB (or ∞)) - also show bar underneath with indication of usage

for each have links to
a) change password
b) change quota
c) delete (with confirmation)
d) configure email client (not sure if the API offers up the information to create the settings for each client)
e) manage autoresponder

For change password page, use a jQuery password strength indicator such as
http://asgaard.co.uk/misc/jquery/?show=password

I don't mind if change password & change quota are done on-page however if they are, they should use standard jQuery AJAX calls. Also happy if you want to use separate forms for change quota and change password for now.

Manage autoresponder should be a standalone form for each email address.
cPanel allows the following tags to be used. I can just list these above the form.

%subject% - The subject of the message sent to the auto responder.
%from% - The name of the sender of the message received by the auto responder, if available.
%email% - The incoming email sender's address.

Then they need to select
Interval: hours
Email: @
From:
Subject:
HTML: (Checkbox) This message contains HTML.
Body:
Start: (Checkbox) Immediately (Checkbox) Custom
Stop: (Checkbox) Never (Checkbox) Custom

2. Create Email Address inc
email prefix (username)
domain (there may be multiple parked domains)
password
password confirmation
password strength indicator as above
quota

3. List all email forwards on the system. List in table.
It should only list email addresses that forward to other email addresses. Not those that discard, forward to a system account or pipe to a program. These should be ignored.

In the table have the 3 columns of data
Address | to | Forward To

plus for each have the delete link (with confirmation)

4. Add forwarder
email prefix (username)
domain (there may be multiple parked domains)
forward to email address

These above are the forms and functions required. An email class should be written with the following methods:

list_emails
create_email
delete_email
update_password
update_quota

list_forwards
create_forward
delete_forward

create_autoresponder
update_autoresponder
delete_autoresponder

I don't think I've missed anything out.

Stage 1 will be to deliver the email class. Stage 2 will deliver the html forms.

Any problems / questions, just let me know.

Additional Project Description:
06/19/2013 at 11:43 BST
In your response, please either give a link to a github or similar account of code you've written, else paste in a random class that you've written. Just to prevent automatic bidders. Without this you'll be deleted.

Skills required:
PHP
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.


£ 216
in 5 days
Hire linuxfreak1985
£ 211
in 5 days
£ 50
in 5 days
Hire merajwill
£ 44
in 2 days
£ 38
in 3 days