MailSendException(msg: String)
Constructor for MailSendException.
MailSendException(msg: String, @Nullable cause: Throwable)
Constructor for MailSendException.
cause - the root cause from the mail API in use
MailSendException(@Nullable msg: String, @Nullable cause: Throwable, failedMessages: MutableMap<Any, Exception>)
Constructor for registration of failed messages, with the messages that failed as keys, and the thrown exceptions as values.
The messages should be the same that were originally passed to the invoked send method.
cause - the root cause from the mail API in use
failedMessages - Map of failed messages as keys and thrown exceptions as values
MailSendException(failedMessages: MutableMap<Any, Exception>)
Constructor for registration of failed messages, with the messages that failed as keys, and the thrown exceptions as values.
The messages should be the same that were originally passed to the invoked send method.
failedMessages - Map of failed messages as keys and thrown exceptions as values