Closed

cPanel API email management

This project received 5 bids from talented freelancers with an average bid price of £112 GBP.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
N/A
Total Bids
5
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.

[url removed, login to view]

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.

[url removed, login to view]

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
[url removed, login to view]

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.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online