public function AddSubAccount($email, $password, $confirmPassword, $requiresEmailCredits = false, $enableLitmusTest = false, $requiresLitmusCredits = false, $maxContacts = 0, $enablePrivateIPRequest = true, $sendActivation = false, $returnUrl = null, $sendingPermission = null, $enableContactFeatures = null, $poolName = null, $emailSizeLimit = 10, $dailySendLimit = null) {
        return $this->sendRequest('account/addsubaccount', array(
                    'email' => $email,
                    'password' => $password,
                    'confirmPassword' => $confirmPassword,
                    'requiresEmailCredits' => $requiresEmailCredits,
                    'enableLitmusTest' => $enableLitmusTest,
                    'requiresLitmusCredits' => $requiresLitmusCredits,
                    'maxContacts' => $maxContacts,
                    'enablePrivateIPRequest' => $enablePrivateIPRequest,
                    'sendActivation' => $sendActivation,
                    'returnUrl' => $returnUrl,
                    'sendingPermission' => $sendingPermission,
                    'enableContactFeatures' => $enableContactFeatures,
                    'poolName' => $poolName,
                    'emailSizeLimit' => $emailSizeLimit,
                    'dailySendLimit' => $dailySendLimit
        ));
    }
public function AddSubAccount($email, $password, $confirmPassword, $requiresEmailCredits = false, $enableLitmusTest = false, $requiresLitmusCredits = false, $maxContacts = 0, $enablePrivateIPRequest = true, $sendActivation = false, $returnUrl = null, $sendingPermission = null, $enableContactFeatures = null, $poolName = null, $emailSizeLimit = 10, $dailySendLimit = null) {
        return $this->sendRequest('account/addsubaccount', array(
                    'email' => $email,
                    'password' => $password,
                    'confirmPassword' => $confirmPassword,
                    'requiresEmailCredits' => $requiresEmailCredits,
                    'enableLitmusTest' => $enableLitmusTest,
                    'requiresLitmusCredits' => $requiresLitmusCredits,
                    'maxContacts' => $maxContacts,
                    'enablePrivateIPRequest' => $enablePrivateIPRequest,
                    'sendActivation' => $sendActivation,
                    'returnUrl' => $returnUrl,
                    'sendingPermission' => $sendingPermission,
                    'enableContactFeatures' => $enableContactFeatures,
                    'poolName' => $poolName,
                    'emailSizeLimit' => $emailSizeLimit,
                    'dailySendLimit' => $dailySendLimit
        ));
    }
public function AddSubAccount ( $ email , $ password , $ confirmPassword , $ requiresEmailCredits = false , $ enableLitmusTest = false , $ requiresLitmusCredits = false , $ maxContacts = 0 , $ enablePrivateIPRequest = true , $ sendActivation = false , $ returnUrl = null , $ sendingPermission = null , $ enableContactFeatures = null , $ poolName = null , $ emailSizeLimit = 10 , $ dailySendLimit = null ) { return $ this -> sendRequest ( 'account/addsubaccount' , array ( 'email' => $ email , 'password' => $ password , 'confirmPassword' => $ confirmPassword , 'requiresEmailCredits' => $ requiresEmailCredits , 'enableLitmusTest' => $ enableLitmusTest , 'requiresLitmusCredits' => $ requiresLitmusCredits , 'maxContacts' => $ maxContacts , 'enablePrivateIPRequest' => $ enablePrivateIPRequest , 'sendActivation' => $ sendActivation , 'returnUrl' => $ returnUrl , 'sendingPermission' => $ sendingPermission , 'enableContactFeatures' => $ enableContactFeatures , 'poolName' => $ poolName , 'emailSizeLimit' => $ emailSizeLimit , 'dailySendLimit' => $ dailySendLimit ) ) ; }
Create new subaccount and provide most important data about it.
@param string $apikey ApiKey that gives you access to our SMTP and HTTP API's.
@param string $email Proper email address.
@param string $password Current password.
@param string $confirmPassword Repeat new password.
@param bool $requiresEmailCredits True, if account needs credits to send emails. Otherwise, false
@param bool $enableLitmusTest True, if account is able to send template tests to Litmus. Otherwise, false
@param bool $requiresLitmusCredits True, if account needs credits to send emails. Otherwise, false
@param int $maxContacts Maximum number of contacts the account can have
@param bool $enablePrivateIPRequest True, if account can request for private IP on its own. Otherwise, false
@param bool $sendActivation True, if you want to send activation email to this account. Otherwise, false
@param string $returnUrl URL to navigate to after account creation
@param ?\ElasticEmailEnums\SendingPermission $sendingPermission Sending permission setting for account
@param ?bool $enableContactFeatures True, if you want to use Contact Delivery Tools.  Otherwise, false
@param string $poolName Private IP required. Name of the custom IP Pool which Sub Account should use to send its emails. Leave empty for the default one or if no Private IPs have been bought
@param int $emailSizeLimit Maximum size of email including attachments in MB's
@param ?int $dailySendLimit Amount of emails account can send daily
@return string
Create new subaccount and provide most important data about it .