How do I create email accounts with PHP using the xmlapi.php library from cPanel?
Note: I need to create more than 1000 email accounts and want to know if this is possible.
Thanks.
The system creates the cPanel account default email account when your hosting provider creates your cPanel account. It uses the [email protected] format, where account is your cPanel account name and domain is your main domain. The username and password are the same as your cPanel account.
UPDATED
I have updated your question and based on that providing this answer.
1. I see bunch of API's for cPanel for managing the server. Though I don't find a direct API for creating a new email account, but found a script which would help you creating email account.
Please see this link:
http://www.zubrag.com/scripts/cpanel-create-email-account.php
http://forums.cpanel.net/f42/xmlapi-php-class-111897.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With