How To Add New Email Account From Outside CPanel?

charming69

Registered
Feb 1, 2013
1
0
1
cPanel Access Level
Website Owner
Hello,

I have set up a website and email account for someone on my server. They are demanding from me that they want to be able to add their own new email addresses themselves. Obviously I do not wish to give them access to CPanel as they could break things.

Is there a way for someone to add an email account without having to use CPanel?

Thank you
 

jakesully

Well-Known Member
Nov 9, 2011
50
0
56
cPanel Access Level
Root Administrator
There is no way for an end user to create an email account from outside cPanel, no.
there is a way but then php script has to login to account as well since i have seen email create php scripts for cpanel/whm.

But then i think it does through API or some function method for that to work.
 

justqt

Registered
Feb 4, 2013
1
0
1
cPanel Access Level
Website Owner
Actually there is.

First off I installed roundcube at my domain.
Code:
Example: www.mydomain.com/roundcube
Then I edited the roundcube homepage template so users can click link to direct to script that allows email signups.
1.png

Next I edited the "php script" to allow link back to
Code:
Example: www.mydomain.com/roundcube
2.png

The above steps are not necessary but I did it to make it look better.

But anyways the main thing are the 2 files in the zip. The files explain what you need to do to get it to work.

A little more customizing I was able to edit roundcube main config to allow users to login with only username and not the @mydomain.com ....

Hopefully these files dont get deleted, these will help others out.
I didn't write these files, I found them and they do work. I use it to create email addresses.

View attachment cpanel_email.zip