public interface MailErrorHandler
Modifier and Type | Method and Description |
---|---|
void |
handle(org.springframework.mail.MailMessage message,
Exception exception)
This method will be called for each message that failed sending in the
chunk.
|
void handle(org.springframework.mail.MailMessage message, Exception exception) throws org.springframework.mail.MailException
message
- the failed messageexception
- the exception that caused the failureorg.springframework.mail.MailException
- if the exception cannot be handledCopyright © 2016 Pivotal. All rights reserved.