spring-framework / org.springframework.mail

Package org.springframework.mail

Exceptions

MailAuthenticationException

open class MailAuthenticationException : MailException

Exception thrown on failed authentication.

MailParseException

open class MailParseException : MailException

Exception thrown if illegal message properties are encountered.

MailPreparationException

open class MailPreparationException : MailException

Exception to be thrown by user code if a mail cannot be prepared properly, for example when a FreeMarker template cannot be rendered for the mail text.

MailSendException

open class MailSendException : MailException

Exception thrown when a mail sending error is encountered. Can register failed messages with their exceptions.