Property | Type | Description | |
---|---|---|---|
$mock_sent |
Method | Description | |
---|---|---|
get_recipient ( string $address_type, integer $mock_sent_index, integer $recipient_index ) : boolean | object | Get a recipient for a sent mock. | |
get_sent ( integer $index ) : object | Decorator to return the information for a sent mock. | |
postSend ( ) | Override postSend() so mail isn't actually sent. | |
preSend ( ) |
public get_recipient ( string $address_type, integer $mock_sent_index, integer $recipient_index ) : boolean | object | ||
$address_type | string | The type of address for the email such as to, cc or bcc. |
$mock_sent_index | integer | Optional. The sent_mock index we want to get the recipient for. |
$recipient_index | integer | Optional. The recipient index in the array. |
return | boolean | object | Returns object on success, or false if any of the indices don't exist. |