Top Description Interfaces Classes
module spring.context.support

Package org.springframework.mail.javamail

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

JavaMail support for Spring's mail infrastructure. Provides an extended JavaMailSender interface and a MimeMessageHelper class for convenient population of a JavaMail MimeMessage.

Interface Summary

Modifier and TypeInterface and Description
public interface
JavaMailSender

Extended org.springframework.mail.MailSender interface for JavaMail, supporting MIME messages both as direct arguments and through preparation callbacks.

public interface
MimeMessagePreparator

Callback interface for the preparation of JavaMail MIME messages.

Class Summary

Modifier and TypeClass and Description
public class
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.

public class
InternetAddressEditor

Editor for java.mail.internet.InternetAddress, to directly populate an InternetAddress property.

pack-priv class
JavaMailMimeTypesRuntimeHints

RuntimeHintsRegistrar implementation that makes sure mime types are available in constrained environments.

public class
JavaMailSenderImpl

Production implementation of the JavaMailSender interface, supporting both JavaMail MimeMessages and Spring SimpleMailMessages.

public class
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.

public class
pack-priv class
SmartMimeMessage

Special subclass of the standard JavaMail MimeMessage, carrying a default encoding to be used when populating the message and a default Java Activation FileTypeMap to be used for resolving attachment types.