# Uses of Interface
org.springframework.batch.item.mail.MailErrorHandler

Packages that use MailErrorHandler
Package
Description
org.springframework.batch.item.mail
Java Mail based components.
org.springframework.batch.item.mail.builder
Builders for JavaMail related components.
org.springframework.batch.item.mail.javamail
JavaMail related components.

- ## Uses of MailErrorHandler in org.springframework.batch.item.mail

  Classes in org.springframework.batch.item.mail that implement MailErrorHandler
  Modifier and Type
  Class
  Description
  `class`
  `DefaultMailErrorHandler`
  This `MailErrorHandler` implementation simply rethrows the exception it receives.
  Methods in org.springframework.batch.item.mail with parameters of type MailErrorHandler
  Modifier and Type
  Method
  Description
  `void`
  SimpleMailMessageItemWriter.`setMailErrorHandler(MailErrorHandler mailErrorHandler)`
  The handler for failed messages.

- ## Uses of MailErrorHandler in org.springframework.batch.item.mail.builder

  Methods in org.springframework.batch.item.mail.builder with parameters of type MailErrorHandler
  Modifier and Type
  Method
  Description
  `SimpleMailMessageItemWriterBuilder`
  SimpleMailMessageItemWriterBuilder.`mailErrorHandler(MailErrorHandler mailErrorHandler)`
  The handler for failed messages.

- ## Uses of MailErrorHandler in org.springframework.batch.item.mail.javamail

  Methods in org.springframework.batch.item.mail.javamail with parameters of type MailErrorHandler
  Modifier and Type
  Method
  Description
  `void`
  MimeMessageItemWriter.`setMailErrorHandler(MailErrorHandler mailErrorHandler)`
  The handler for failed messages.