Hello All,
This is my first post here... regarding the automated account creation with WHM!
I made the following changes to the given perl example to auto create an account, but with email...
This works perfect, account is created, and contact email is added!
Then I just use sendmail with my own message to the new client.
The problem is I don't know what my $response means.
I'm getting a number code:
$response = 6
Any idea on what this means? What other codes can I strip for error tracing?
Thanks you in advance for your help!
This is my first post here... regarding the automated account creation with WHM!
I made the following changes to the given perl example to auto create an account, but with email...
PHP:
$username = $defuser;
$email = $FORM{'email'};
$password = $FORM{'password'};
$domain = $FORM{'domain'};
$plan = $FORM{'plan'};
$response = $whm->whmreq("/scripts/wwwacct?remote=0&nohtml=1&username=$username&contactemail=$email&password=$password&domain=$domain&plan=$plan");
Then I just use sendmail with my own message to the new client.
The problem is I don't know what my $response means.
I'm getting a number code:
$response = 6
Any idea on what this means? What other codes can I strip for error tracing?
Thanks you in advance for your help!