suspend fun MailClient.sendMailAwait(email: MailMessage): MailResult
send a single mail via MailClient
email
- MailMessage object containing the mail text, from/to, attachments etc
resultHandler
- will be called when the operation is finished or it fails (may be null to ignore the result)
Returnthis
MailClient instance so the method can be used fluently *