public interface MailingService
MessageTemplate that
is intended to be send to a List of recipients.
| Modifier and Type | Method and Description |
|---|---|
MailingStatus |
getStatus(java.lang.String mailingId) |
MailingStatus |
send(MessageTemplate message,
MailingList recipients,
Session session)
Send a
Mailing to. |
MailingStatus getStatus(java.lang.String mailingId) throws RepositoryException
mailingId - to access the MailingStatusnull if the mailing has not be sent does not existjavax.jcr.RepositoryException - in case of an exception accessing
the RepositoryRepositoryException;MailingStatus send(MessageTemplate message, MailingList recipients, Session session) throws MailingException, RepositoryException
Mailing to.message - to be sendrecipients - of the messagesession - to use for sending the mailingMailingException - in case the sending could not be startedjavax.jcr.AccessDeniedException - in case the session lacks privileges
to send the MailingRepositoryException - in case of error accessing the Repository