@ProviderType
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)
Deprecated.
It's recommended to use
getStatus(String, javax.jcr.Session) instead. |
MailingStatus |
getStatus(java.lang.String mailingId,
Session session) |
MailingStatus |
send(MessageTemplate message,
AuthorizableMailingList recipients,
ResourceResolver resourceResolver)
Send a
Mailing to. |
@Deprecated MailingStatus getStatus(java.lang.String mailingId) throws RepositoryException
getStatus(String, javax.jcr.Session) instead.mailingId - to access the MailingStatusnull if the mailing has not be sent does not existRepositoryException - in case of an exception accessing
the Repository;MailingStatus getStatus(java.lang.String mailingId, Session session) throws RepositoryException
mailingId - to access the MailingStatussession - to read the Node having MailingStatusnull if the mailing has not be sent does not existRepositoryException - in case of an exception accessing
the Repository;MailingStatus send(MessageTemplate message, AuthorizableMailingList recipients, ResourceResolver resourceResolver) throws MailingException, RepositoryException
Mailing to.message - to be sendrecipients - of the messageresourceResolver - Resource resolverMailingException - in case the sending could not be startedAccessDeniedException - in case the session lacks privileges to send the MailingRepositoryException - in case of error accessing the RepositoryMailingException - If an error occursCopyright © 2010 - 2023 Adobe. All Rights Reserved