|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.liquidsite.util.mail.MailMessage
org.liquidsite.app.template.GroupMailMessage
A group email message. This class is used for creating email messages to all users in a group.
| Constructor Summary | |
GroupMailMessage()
Creates a new empty group mail message. |
|
| Method Summary | |
protected javax.mail.internet.MimeMessage |
getNextMessage(javax.mail.Session session)
Creates the next Java mail MIME message from this mail message. |
java.lang.String |
getRecipient()
Returns a string representation of the message recipient. |
protected boolean |
hasMoreMessages()
Checks if there remains any Java mail MIME messages to generate. |
void |
setRecipient(Group recipient)
Sets the message recipient group. |
| Methods inherited from class org.liquidsite.util.mail.MailMessage |
createMessage, getAttribute, getAttributeNames, getFrom, getFromAddress, getReplyTo, getReplyToAddress, getSubject, getText, isValid, setAttribute, setFrom, setReplyTo, setSubject, setText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupMailMessage()
| Method Detail |
public java.lang.String getRecipient()
getRecipient in class MailMessagepublic void setRecipient(Group recipient)
recipient - the message recipient groupprotected boolean hasMoreMessages()
hasMoreMessages in class MailMessage
protected javax.mail.internet.MimeMessage getNextMessage(javax.mail.Session session)
throws MailMessageException
getNextMessage in class MailMessagesession - the Java mail session
MailMessageException - if the message couldn't be
created correctly
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||