private function AmazonSesClass::deleteIdentity in Amazon SES 7
Call Query API action DeleteIdentity.
Deletes the specified identity (email address or domain) from the list of verified identities. This action is throttled at one request per second.
1 call to AmazonSesClass::deleteIdentity()
- AmazonSesClass::performServiceAction in includes/
classes/ amazonses.class.php - Add required parameter & header to the Query according to Query action.
File
- includes/
classes/ amazonses.class.php, line 84 - Class for interacting with Amazon SES service.
Class
- AmazonSesClass
- Modify the drupal mail system to use Amazon SES.
Code
private function deleteIdentity($action_parameter) {
$response_xml = $this->sesClient
->delete_identity($action_parameter['identity']);
if ($response_xml->status == '200') {
$result['status'] = AMAZON_SES_REQUEST_SUCCESS;
}
else {
$result['status'] = AMAZON_SES_REQUEST_FALIURE;
}
return $result;
}