Forum Moderators: coopster
I recently found a PHP script that was able to add an email account into Cpanel by sending it some variables..
I was wondering if anyone knows if its possible to code something to 'remove' a specified email account?
$username = 'abc'; $password = 'xyz'; $userEmail = 'demo'; $userDomain = 'example.com'; $url = 'http://' . $username . ':' . $password . '@example.com:2082/frontend/x/mail/dodelpop.html?email=' . $userEmail . '&domain=' . $userDomain;
$url = 'http://' . $username . ':' . $password . '@example.com:2082/frontend/x/mail/dodelpop.html?email=' . $userEmail . '&domain=' . $userDomain;
Replace x with your custom theme.
Milan