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.
|
Java Source File Name | Type | Comment |
ConfigurableMimeFileTypeMap.java | Class | 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.
The mapping file should be in the following format, as specified by the
Java Activation Framework:
# map text/html to .htm and .html files
text/html html htm HTML HTM
Lines starting with # are treated as comments and are ignored. |
InternetAddressEditor.java | Class | Editor for java.mail.internet.InternetAddress ,
to directly populate an InternetAddress property.
Expects the same syntax as InternetAddress's constructor with
a String argument. |
JavaMailSender.java | Interface | Extended
org.springframework.mail.MailSender interface for JavaMail,
supporting MIME messages both as direct arguments and through preparation
callbacks. |
JavaMailSenderImpl.java | Class | Production implementation of the
JavaMailSender interface,
supporting both JavaMail
MimeMessage MimeMessages and Spring
SimpleMailMessage SimpleMailMessages . |
MimeMailMessage.java | Class | 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.
Uses a MimeMessageHelper underneath. |
MimeMessageHelper.java | Class | Helper class for populating a
javax.mail.internet.MimeMessage .
Mirrors the simple setters of
org.springframework.mail.SimpleMailMessage ,
directly applying the values to the underlying MimeMessage. |
MimeMessagePreparator.java | Interface | Callback interface for the preparation of JavaMail MIME messages. |
SmartMimeMessage.java | Class | 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.
Created by JavaMailSenderImpl in case of a specified default encoding
and/or default FileTypeMap. |