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.
Signature
public function add(string
$email,
[string
$comment = NULL,
[string
$subaccount = NULL]] )
Parameters
$email
—
string
an email address to block
$comment
—
string
an optional comment describing the rejection
$subaccount
—
string
an optional unique identifier for the subaccount to limit the blacklist entry
Returns
struct
a status object containing the address and the result of the operation - email string the email address you provided
- added boolean whether the operation succeeded