Top Description Methods
org.springframework.mail

public Interface MailMessage

Known Direct Implementers
org.springframework.mail.SimpleMailMessage, org.springframework.mail.javamail.MimeMailMessage
Imports
java.util.Date

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.

Implemented by both SimpleMailMessage and MimeMessageHelper, to let message population code interact with a simple message or a MIME message through a common interface.

Author
Juergen Hoeller
Since
1.1.5
See Also
SimpleMailMessage, org.springframework.mail.javamail.MimeMessageHelper

Method Summary

Modifier and TypeMethod and Description
public void
public void
setBcc(String... bcc)

public void
public void
setCc(String... cc)

public void
public void
setReplyTo(String replyTo)

public void
setSentDate(Date sentDate)

public void
setSubject(String subject)

public void
public void
public void
setTo(String... to)

Method Detail

setBccback to summary
public void setBcc(String bcc) throws MailParseException
setBccback to summary
public void setBcc(String... bcc) throws MailParseException
setCcback to summary
public void setCc(String cc) throws MailParseException
setCcback to summary
public void setCc(String... cc) throws MailParseException
setFromback to summary
public void setFrom(String from) throws MailParseException
setReplyToback to summary
public void setReplyTo(String replyTo) throws MailParseException
setSentDateback to summary
public void setSentDate(Date sentDate) throws MailParseException
setSubjectback to summary
public void setSubject(String subject) throws MailParseException
setTextback to summary
public void setText(String text) throws MailParseException
setToback to summary
public void setTo(String to) throws MailParseException
setToback to summary
public void setTo(String... to) throws MailParseException