Package org.springframework.mail.javamail
@NullMarked
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.
-
ClassDescriptionSpring-configurable
FileTypeMapimplementation that will read MIME type to file extension mappings from a standard JavaMail MIME type mapping file, using a standardMimetypesFileTypeMapunderneath.Editor forjava.mail.internet.InternetAddress, to directly populate an InternetAddress property.ExtendedMailSenderinterface for JavaMail, supporting MIME messages both as direct arguments and through preparation callbacks.Production implementation of theJavaMailSenderinterface, supporting both JavaMailMimeMessagesand SpringSimpleMailMessages.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.Helper class for populating aMimeMessage.Callback interface for the preparation of JavaMail MIME messages.