automatic email accounts creation

pisicosu

Member
Sep 16, 2006
5
0
151
Hello!

I have a reseller account, don't have root access, but want to be able to automaticly create pop email accounts for my clients. I have developed an application for one of my clients and they need to create an email account for each approved user. They don't have/want cPanel access so there are 2 ways of doing this:

1. I get the info then I manually create the account
2. since I did the script that controls users (teachers) I would like to add the script that automaticly created the pop email account upon application approval.

Pisicosu
 

quasiman

Member
Aug 26, 2003
10
0
151
Portland, Oregon
cPanel Access Level
Root Administrator

pisicosu

Member
Sep 16, 2006
5
0
151
Thank You

Quasiman, thanks!

I just took at look at that script. It's awesome! I didn't know how to access cPanel... I will modify the rest of the script to meet my needs.

:)


quasiman said:
Are you asking a question, or just making a general statement?

If you're asking for a script that creates a user email, I have one that creates the email, adds the user to a mysql database, and emails the admin (you) the user details.
http://quasitown.com/name-CmodsDownload-index-req-viewsingledownload-lid-9.phtml
 

pisicosu

Member
Sep 16, 2006
5
0
151
Whm

Quasiman,

Do you happen to know of a good tutorial for accessing WHM information through PHP? My PHP skills are pretty good, it's just that I couldn't really understand much of this: http://www.cpanel.net/remoteaccess-php.html Way to little information. I need like whole list of functions that can be used for WHM and also how do I make that connection to WHM in the first place. They're talking about '/usr/local/cpanel/Cpanel/Accounting.php.inc', but I don't have access there (I only have a reseller account). Anyway, I think I can get access to that file...

So, if you know a tutorial, or sample PHP scripts...

Thanks a lot!

P.