The Inx_Api_Bounce_BounceManager can be used to retrieve bounces.
The Inx_Api_Bounce_BounceManager can be used to retrieve bounces. There are different methods for the retrieval of bounces, for example you can retrieve bounces by date. The following example returns an Inx_Api_BOResultSet containing all bounces in the system:
$oBounceManager = $oSession->getBounceManager(); $oBOResultSet = $oBounceManager->selectAll(); for( $i = 0; $i < $oBOResultSet->size(); $i++ ) { $oBounce = $oBOResultSet->get( $i ); echo $oBounce->getSubject()."<br>"; } $oBOResultSet->close();Note: The select*() methods retrieve no recipient information but the id. If you wish to retrieve the recipient state or some of the recipients attributes, use the select*(..., Inx_Api_Recipient_RecipientContext, Inx_Api_Recipient_Attribute[]) methods instead. Note: The usage of bounces requires the api user right: Inx_Api_UserRights::ERRORMAIL_FEATURE_USE
For more information on bounces, see the Inx_Api_Bounce_Bounce documentation.
Located in /Api/Bounce/BounceManager.php (line 39)
Inx_Api_BOManager | --Inx_Api_Bounce_BounceManager
Creates a query object which allows to retrieve bounces using a fluent interface. filter the bounces by the following criteria:
Creates a query object which allows to retrieve bounces using a fluent interface. Using this object you can filter the bounces by the following criteria:
Returns a result set containing all bounces which occurred after the specified date.
Returns a result set containing all bounces which occurred after the specified date. If the Inx_Api_Recipient_RecipientContext is not null and the Inx_Api_Recipient_Attribute array contains at least one element, the retrieved bounces will contain information about the recipient state and the specified recipient attributes.
Warning: A fatal error may occur if the Attribute array contains null values. Note that a null value for the array itself is allowed.
Returns a result set containing all bounces.
Returns a result set containing all bounces. If there are no bounces, an empty result set will be returned. If the Inx_Api_Recipient_RecipientContext is not null and the Inx_Api_Recipient_Attribute array contains at least one element, the retrieved bounces will contain information about the recipient state and the specified recipient attributes.
Warning: A fatal error may occur if the Attribute array contains null values. Note that a null value for the array itself is allowed.
Returns a result set containing all bounces which occurred before the specified date.
Returns a result set containing all bounces which occurred before the specified date. If the Inx_Api_Recipient_RecipientContext is not null and the Inx_Api_Recipient_Attribute array contains at least one element, the retrieved bounces will contain information about the recipient state and the specified recipient attributes.
Warning: A fatal error may occur if the Attribute array contains null values. Note that a null value for the array itself is allowed.
Returns a result set containing all bounces which occurred between the specified dates.
Returns a result set containing all bounces which occurred between the specified dates. If the Inx_Api_Recipient_RecipientContext is not null and the Inx_Api_Recipient_Attribute array contains at least one element, the retrieved bounces will contain information about the recipient state and the specified recipient attributes.
Warning: A fatal error may occur if the Attribute array contains null values. Note that a null value for the array itself is allowed.
Returns a result set containing all bounces regarding the specified list.
Returns a result set containing all bounces regarding the specified list. If there are no bounces, an empty result set will be returned. If the Inx_Api_Recipient_RecipientContext is not null and the Inx_Api_Recipient_Attribute array contains at least one element, the retrieved bounces will contain information about the recipient state and the specified recipient attributes.
Warning: A fatal error may occur if the Attribute array contains null values. Note that a null value for the array itself is allowed.
Returns a result set containing all bounces regarding the specified mailing.
Returns a result set containing all bounces regarding the specified mailing. If there are no bounces, an empty result set will be returned. If the Inx_Api_Recipient_RecipientContext is not null and the Inx_Api_Recipient_Attribute array contains at least one element, the retrieved bounces will contain information about the recipient state and the specified recipient attributes.
Warning: A fatal error may occur if the Attribute array contains null values. Note that a null value for the array itself is allowed.
Inherited From Inx_Api_BOManager
Inx_Api_BOManager::get()
Inx_Api_BOManager::remove()
Inx_Api_BOManager::selectAll()
Documentation generated on Thu, 17 Sep 2015 14:27:22 +0200 by phpDocumentor 1.3.2