Package org.bedework.calfacade.mail
Class Message
java.lang.Object
org.bedework.calfacade.mail.Message
- All Implemented Interfaces:
Serializable
Bean to represent a mail message. A serializable simplification and
restatement of the javax.mail.Message class. Serializability is
important if we want to queue the message..
- Author:
- Mike Douglass douglm@bedework.edu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(Attachment val) String[]getBccTo()String[]getCcTo()getFrom()longString[]voidvoidvoidvoidsetContent(String val) voidvoidsetGenDate(long val) voidvoidsetSubject(String val) toString()
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
setFrom
- Parameters:
val-
-
getFrom
- Returns:
- value
-
setMailTo
- Parameters:
val-
-
getMailTo
- Returns:
- value
-
setCcTo
- Parameters:
val-
-
getCcTo
- Returns:
- value
-
setBccTo
- Parameters:
val-
-
getBccTo
- Returns:
- value
-
setSubject
- Parameters:
val-
-
getSubject
- Returns:
- value
-
setGenDate
public void setGenDate(long val) - Parameters:
val-
-
getGenDate
public long getGenDate()- Returns:
- value
-
setContent
- Parameters:
val-
-
getContent
- Returns:
- value
-
setAttachments
- Parameters:
val-
-
getAttachments
- Returns:
- value
-
addAttachment
- Parameters:
val-
-
toString
-