# Package org.springframework.batch.item.mail

@NonNullApi package org.springframework.batch.item.mail
Java Mail based components.

Author:
  Michael Minella, Mahmoud Ben Hassine

- Related Packages
  Package
  Description
  org.springframework.batch.item
  Infrastructure interfaces and primary dependencies for item concerns.
  org.springframework.batch.item.mail.builder
  Builders for JavaMail related components.
  org.springframework.batch.item.mail.javamail
  JavaMail related components.
- Class
  Description
  DefaultMailErrorHandler
  This `MailErrorHandler` implementation simply rethrows the exception it receives.
  MailErrorHandler
  This class is used to handle errors that occur when email messages are unable to be sent.
  SimpleMailMessageItemWriter
  A simple `ItemWriter` that can send mail messages.