Cant find a API value for customcreation

doditz

Verified User
Joined
Feb 9, 2008
Messages
10
hello everyone

i cant seems to find the value to set catch-all e-mail on or off

i have look in new api and the api command and cant find it (im blind or ?)

if you know it please share to us :)

thanks

(i have try 'catch-all' => 'ON', 'catch' => 'ON', 'catch-all-email' => 'ON', 'catch-all-e-mail' => 'ON',)
 
Last edited:
not what i mean

sorry i was probly not clear (my english not so good hehe)

here a example of what im using :

Code:
$socket->query('/CMD_API_MANAGE_RESELLER_PACKAGES',
		array(
			'action' => 'create',
			'add' => 'save',
			'aftp' => 'OFF',
			'cgi' => 'ON',
			'dns' => 'OFF',
			'dnscontrol' => $dnscontrol,
			'bandwidth' => $bandwith, 
			'domainptr' => 'unlimited',
			'ftp' => 'unlimited',
			'ips' => '0',
			'mysql' => $nb_bd,
			'nemailf' => 'unlimited',
			'nemailml' => 'unlimited',
			'nemailr' => 'unlimited',
			'nemails' => 'unlimited',
			'nsubdomains' => 'unlimited',
			'quota' => $hd_space, 
			'serverip' => 'ON',
			'cron' => 'ON',
			'sysinfo' => 'ON',
			'php' => 'ON',
			'ssh' => 'OFF',
			'userssh' => 'OFF',
			'spam' => 'ON',
			'ssl' => 'ON',
			'vdomains' => 'unlimited',
			'packagename' => $description ));

i wanna know the value so i can set catch-all email to on uppon package creation

so i dont have to go and manually add it into all package created

cause im building a script that create the customer custom plan into WHMCS and it also create the package in DA so when the paiment is done the DA user or reseller can be created cause the package is there

i have looked everywhere but cant find it

or do you mean i have to do a other api socket to edit the package once created and cant just set it on upon the creation ?

thanks

doditz
 
Back
Top