Class SimpleMailMessage

java.lang.Object
org.springframework.mail.SimpleMailMessage
All Implemented Interfaces:
Serializable, MailMessage

public class SimpleMailMessage extends Object implements MailMessage, Serializable
Models a simple mail message, including data such as the from, to, cc, subject, and text fields.

Consider JavaMailSender and JavaMail MimeMessages for creating more sophisticated messages, for example messages with attachments, special character encodings, or personal names that accompany mail addresses.

Since:
10.09.2003
Author:
Dmitriy Kopylenko, Juergen Hoeller
See Also: