doesInboxExistWithHttpInfo method
Does inbox exist
Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> doesInboxExistWithHttpInfo(String emailAddress, { bool? allowCatchAll, }) async {
// ignore: prefer_const_declarations
final path = r'/inboxes/exists';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'emailAddress', emailAddress));
if (allowCatchAll != null) {
queryParams.addAll(_queryParams('', 'allowCatchAll', allowCatchAll));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}