# Uses of Interface
org.springframework.mail.MailMessage

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

## Uses of MailMessage in org.springframework.mail

Classes in org.springframework.mail that implement MailMessage
Modifier and Type
Class
Description
`class`
`SimpleMailMessage`
Models a simple mail message, including data such as the from, to, cc, subject, and text fields.
Methods in org.springframework.mail with parameters of type MailMessage
Modifier and Type
Method
Description
`void`
SimpleMailMessage.`copyTo(MailMessage target)`
Copy the contents of this message to the given target message.

## Uses of MailMessage in org.springframework.mail.javamail

Classes in org.springframework.mail.javamail that implement MailMessage
Modifier and Type
Class
Description
`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.