-
Notifications
You must be signed in to change notification settings - Fork 0
Mandrill_Subaccounts
Mathieu Nayrolles edited this page Jan 20, 2016
·
1 revision
- Class name: Mandrill_Subaccounts
- Namespace:
mixed Mandrill_Subaccounts::__construct(\Mandrill $master)
- Visibility: public
- $master Mandrill
array Mandrill_Subaccounts::getList(string $q)
Get the list of subaccounts defined for the account, optionally filtered by a prefix
- Visibility: public
- $q string - <p>an optional prefix to filter the subaccounts' ids and names</p>
\struct Mandrill_Subaccounts::add(string $id, string $name, string $notes, integer $custom_quota)
Add a new subaccount
- Visibility: public
- $id string - <p>a unique identifier for the subaccount to be used in sending calls</p>
- $name string - <p>an optional display name to further identify the subaccount</p>
- $notes string - <p>optional extra text to associate with the subaccount</p>
- $custom_quota integer - <p>an optional manual hourly quota for the subaccount. If not specified, Mandrill will manage this based on reputation</p>
\struct Mandrill_Subaccounts::info(string $id)
Given the ID of an existing subaccount, return the data about it
- Visibility: public
- $id string - <p>the unique identifier of the subaccount to query</p>
\struct Mandrill_Subaccounts::update(string $id, string $name, string $notes, integer $custom_quota)
Update an existing subaccount
- Visibility: public
- $id string - <p>the unique identifier of the subaccount to update</p>
- $name string - <p>an optional display name to further identify the subaccount</p>
- $notes string - <p>optional extra text to associate with the subaccount</p>
- $custom_quota integer - <p>an optional manual hourly quota for the subaccount. If not specified, Mandrill will manage this based on reputation</p>
\struct Mandrill_Subaccounts::delete(string $id)
Delete an existing subaccount. Any email related to the subaccount will be saved, but stats will be removed and any future sending calls to this subaccount will fail.
- Visibility: public
- $id string - <p>the unique identifier of the subaccount to delete</p>
\struct Mandrill_Subaccounts::pause(string $id)
Pause a subaccount's sending. Any future emails delivered to this subaccount will be queued for a maximum of 3 days until the subaccount is resumed.
- Visibility: public
- $id string - <p>the unique identifier of the subaccount to pause</p>
\struct Mandrill_Subaccounts::resume(string $id)
Resume a paused subaccount's sending
- Visibility: public
- $id string - <p>the unique identifier of the subaccount to resume</p>