# Uses of Package
org.springframework.mail

Packages that use org.springframework.mail
Package
Description
org.springframework.mail
Spring's generic mail infrastructure.
org.springframework.mail.javamail
JavaMail support for Spring's mail infrastructure.

Classes in org.springframework.mail used by org.springframework.mail
Class
Description
MailException
Base class for all mail exceptions.
MailMessage
This is a common interface for mail messages, allowing a user to set key values required in assembling a mail message, without needing to know if the underlying message is a simple text message or a more sophisticated MIME message.
MailParseException
Exception thrown if illegal message properties are encountered.
SimpleMailMessage
Models a simple mail message, including data such as the from, to, cc, subject, and text fields.
Classes in org.springframework.mail used by org.springframework.mail.javamail
Class
Description
MailException
Base class for all mail exceptions.
MailMessage
This is a common interface for mail messages, allowing a user to set key values required in assembling a mail message, without needing to know if the underlying message is a simple text message or a more sophisticated MIME message.
MailParseException
Exception thrown if illegal message properties are encountered.
MailSender
This interface defines a strategy for sending simple mails.
SimpleMailMessage
Models a simple mail message, including data such as the from, to, cc, subject, and text fields.