filterBouncedRecipientWithHttpInfo method
Future<Response>
filterBouncedRecipientWithHttpInfo(
- FilterBouncedRecipientsOptions filterBouncedRecipientsOptions
Filter a list of email recipients and remove those who have bounced
Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints
Note: This method returns the HTTP Response
.
Parameters:
- FilterBouncedRecipientsOptions filterBouncedRecipientsOptions (required):
Implementation
Future<Response> filterBouncedRecipientWithHttpInfo(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions,) async {
// ignore: prefer_const_declarations
final path = r'/bounce/filter-recipients';
// ignore: prefer_final_locals
Object? postBody = filterBouncedRecipientsOptions;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}