Create new email account using php with cPanel
If you want to create and give an email to someone register via your website. This tutorial may help you. First you’re going to need to download the PHP XML API Class: https://github.com/CpanelInc/xmlapi-php Upload it to your server and include it in the script you’re building to create email accounts. include_once __DIR__.’/library/xmlapi/xmlapi.php’; // Need to[…]