sendAliasEmailWithHttpInfo method
Send an email from an alias inbox
Send an email from an alias. Replies to the email will be forwarded to the alias masked email address
Note: This method returns the HTTP Response
.
Parameters:
-
String aliasId (required):
-
SendEmailOptions sendEmailOptions (required):
Implementation
Future<Response> sendAliasEmailWithHttpInfo(String aliasId, SendEmailOptions sendEmailOptions,) async {
// ignore: prefer_const_declarations
final path = r'/aliases/{aliasId}/emails'
.replaceAll('{aliasId}', aliasId);
// ignore: prefer_final_locals
Object? postBody = sendEmailOptions;
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,
);
}