sendEmailSimple method
Send an email
If no senderId or inboxId provided a random email address will be used to send from.
Parameters:
- SimpleSendEmailOptions simpleSendEmailOptions (required):
Implementation
Future<void> sendEmailSimple(SimpleSendEmailOptions simpleSendEmailOptions,) async {
final response = await sendEmailSimpleWithHttpInfo(simpleSendEmailOptions,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}