Email Account Creation Using XML api ? Need Help...

niwre_17

Registered
Mar 4, 2011
2
0
51
Hi Guys,

I'm new to this forum and I'm a bit loss to were should I start. What I'd like to do
is to allow a user to create a email account on our site. Thus , any class of same purpose
exist? Or method that I can use?

Thanks,
Erwin
 

cPanelDavidN

Well-Known Member
Staff member
Dec 17, 2009
571
3
68
Houston, TX
cPanel Access Level
Root Administrator
Hi Erwin,

I don't recall seeing such an example lying about in the forums though I know people have asked similar questions in the past. If you've already looked at sdk.cpanel.net and understand the fundamentals of the XML-API, API1 and API2 you should be ready to right some code :) I can recommend two "classes" to help you get started:

1) PHP: the XML-API PHP client class is our current meta-class that PHP developers can use to make XML-API or API1/API2 calls. There's some examples in the tarball as well as many examples in the developer-discussion forum.
2) Perl: PublicAPI package which can make queries just like the PHP class. It has many other features too.

Once you decide on one of those (or something similar), you'll want to look at the API2 Email module

Best Regards,
-DavidN
 

niwre_17

Registered
Mar 4, 2011
2
0
51
Hi DavidN,

Thank you so much for the reply, I will now look into this.

Regards,
Erwin