spring-framework / org.springframework.mail / MailSendException / getMessageExceptions

getMessageExceptions

fun getMessageExceptions(): Array<Exception>

Return an array with thrown message exceptions.

Note that a general mail server connection failure will not result in failed messages being returned here: A message will only be contained here if actually sending it was attempted but failed.

Return
the array of thrown message exceptions, or an empty array if no failed messages