Mandrill_Rejects =============== * Class name: Mandrill_Rejects * Namespace: Methods ------- ### __construct mixed Mandrill_Rejects::__construct(\Mandrill $master) * Visibility: **public** #### Arguments * $master **[Mandrill](Mandrill.md)** ### add \struct Mandrill_Rejects::add(string $email, string $comment, string $subaccount) Adds an email to your email rejection blacklist. Addresses that you add manually will never expire and there is no reputation penalty for removing them from your blacklist. Attempting to blacklist an address that has been whitelisted will have no effect. * Visibility: **public** #### Arguments * $email **string** - <p>an email address to block</p> * $comment **string** - <p>an optional comment describing the rejection</p> * $subaccount **string** - <p>an optional unique identifier for the subaccount to limit the blacklist entry</p> ### getList array Mandrill_Rejects::getList(string $email, boolean $include_expired, string $subaccount) Retrieves your email rejection blacklist. You can provide an email address to limit the results. Returns up to 1000 results. By default, entries that have expired are excluded from the results; set include_expired to true to include them. * Visibility: **public** #### Arguments * $email **string** - <p>an optional email address to search by</p> * $include_expired **boolean** - <p>whether to include rejections that have already expired.</p> * $subaccount **string** - <p>an optional unique identifier for the subaccount to limit the blacklist</p> ### delete \struct Mandrill_Rejects::delete(string $email, string $subaccount) Deletes an email rejection. There is no limit to how many rejections you can remove from your blacklist, but keep in mind that each deletion has an affect on your reputation. * Visibility: **public** #### Arguments * $email **string** - <p>an email address</p> * $subaccount **string** - <p>an optional unique identifier for the subaccount to limit the blacklist deletion</p>