sendEmailSimple method

Future<void> sendEmailSimple(
  1. SimpleSendEmailOptions simpleSendEmailOptions
)

Send an email

If no senderId or inboxId provided a random email address will be used to send from.

Parameters:

Implementation

Future<void> sendEmailSimple(SimpleSendEmailOptions simpleSendEmailOptions,) async {
  final response = await sendEmailSimpleWithHttpInfo(simpleSendEmailOptions,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}