# Package org.springframework.mail.javamail

@NonNullApi @NonNullFields package org.springframework.mail.javamail
JavaMail support for Spring's mail infrastructure. Provides an extended JavaMailSender interface and a MimeMessageHelper class for convenient population of a JavaMail MimeMessage.

Related Packages
Package
Description
org.springframework.mail
Spring's generic mail infrastructure.
Class
Description
ConfigurableMimeFileTypeMap
Spring-configurable `FileTypeMap` implementation that will read MIME type to file extension mappings from a standard JavaMail MIME type mapping file, using a standard `MimetypesFileTypeMap` underneath.
InternetAddressEditor
Editor for `java.mail.internet.InternetAddress`, to directly populate an InternetAddress property.
JavaMailSender
Extended `MailSender` interface for JavaMail, supporting MIME messages both as direct arguments and through preparation callbacks.
JavaMailSenderImpl
Production implementation of the `JavaMailSender` interface, supporting both JavaMail `MimeMessages` and Spring `SimpleMailMessages`.
MimeMailMessage
Implementation of the MailMessage interface for a JavaMail MIME message, to let message population code interact with a simple message or a MIME message through a common interface.
MimeMessageHelper
Helper class for populating a `MimeMessage`.
MimeMessagePreparator
Callback interface for the preparation of JavaMail MIME messages.