# Uses of Class
org.springframework.batch.item.mail.builder.SimpleMailMessageItemWriterBuilder

Packages that use SimpleMailMessageItemWriterBuilder
Package
Description
org.springframework.batch.item.mail.builder
Builders for JavaMail related components.

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

  Methods in org.springframework.batch.item.mail.builder that return SimpleMailMessageItemWriterBuilder
  Modifier and Type
  Method
  Description
  `SimpleMailMessageItemWriterBuilder`
  SimpleMailMessageItemWriterBuilder.`mailErrorHandler(MailErrorHandler mailErrorHandler)`
  The handler for failed messages.
  `SimpleMailMessageItemWriterBuilder`
  SimpleMailMessageItemWriterBuilder.`mailSender(org.springframework.mail.MailSender mailSender)`
  A `MailSender` to be used to send messages in `SimpleMailMessageItemWriter.write(List)`.