Does anybody know how i can go about creating email accounts and maybe read mails from my cpanel using a rails app without going directly to the cpanel to create the email accounts. This is really help and it can save me a lot a time logging into the cpanel. Which means i should be able to create the email accounts with my rails app. Thank You
Share
cPanel have an API that you may access to do the work for you
http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/
All you have to do is to build the requests and call their API.
In order to build a request:
Here is the link for the XML or JSON versions of the API:
http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/XmlApi
Then you parse the JSON after you request and show in your rails application.
Just for you to know, the function to create e-mails are in API1:
http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/CallingAPIFunctions
I hope this helps you to get started.