Forum Moderators: coopster

Message Too Old, No Replies

Cpanel Email Account Removal Script?

         

adammc

1:28 am on Mar 4, 2007 (gmt 0)

10+ Year Member



Hi Guys,

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?

milanmk

4:28 am on Mar 4, 2007 (gmt 0)

10+ Year Member




$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;

Replace x with your custom theme.

Milan