Class CmsMessageInfo
java.lang.Object
org.opencms.workplace.tools.workplace.broadcast.CmsMessageInfo
Bean class for message information.
- Since:
- 6.0.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetCc()Returns the cc string.getFrom()Returns the from string.getMsg()Returns the message string.Returns the subject string.getTo()Returns the to string.voidsendEmail(org.opencms.file.CmsObject cms) Sends the given message to the given addresses.voidSets the cc string.voidSets the from string.voidSets the message string.voidsetSubject(String subject) Sets the subject string.voidSets the to string.
- 
Constructor Details- 
CmsMessageInfopublic CmsMessageInfo()Default Constructor.
 
- 
- 
Method Details- 
getCcReturns the cc string.- Returns:
- the cc string
 
- 
getFromReturns the from string.- Returns:
- the from string
 
- 
getMsgReturns the message string.- Returns:
- the message string
 
- 
getSubjectReturns the subject string.- Returns:
- the subject string
 
- 
getToReturns the to string.- Returns:
- the to string
 
- 
sendEmailSends the given message to the given addresses.- Parameters:
- cms- the cms context
- Throws:
- Exception- if something goes wrong
 
- 
setCcSets the cc string.- Parameters:
- cc- the cc string
 
- 
setFromSets the from string.- Parameters:
- from- the from string
 
- 
setMsgSets the message string.- Parameters:
- msg- the message string
 
- 
setSubjectSets the subject string.- Parameters:
- subject- the subject string
 
- 
setToSets the to string.This has to be a ';' separated string of email-addresses. - Parameters:
- to- the to string
 
 
-