|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MailService
| Method Summary | |
|---|---|
Association |
associateRecipient(long mailId,
long addressId,
RecipientType type,
ClientState clientState)
Update or create a mail recipient association. |
Association |
associateSender(long topicId,
long addressId,
ClientState clientState)
Update or create a mail sender association. |
void |
associateValidatedRecipients(long mailId,
List<Topic> recipients,
ClientState clientState)
Associate all valid email addresses of each recipient. |
Collection<Topic> |
getSearchParentTypes()
Returns parent of each search type. |
StatusReport |
send(Mail mail)
Sends a HTML mail. |
| Method Detail |
|---|
Collection<Topic> getSearchParentTypes()
Association associateRecipient(long mailId,
long addressId,
RecipientType type,
ClientState clientState)
mailId - ID of a mail topic.addressId - Email address of recipient.type - Recipient type URI or null to choose the configured default.clientState - Optional cookie or null.
Association associateSender(long topicId,
long addressId,
ClientState clientState)
topicId - ID of a mail or configuration topic.addressId - Email address of sender.clientState - Optional cookie or null.
void associateValidatedRecipients(long mailId,
List<Topic> recipients,
ClientState clientState)
mailId - recipients - clientState -
StatusReport send(Mail mail)
throws UnsupportedEncodingException,
org.apache.commons.mail.EmailException,
IOException
mail - Mail topic.
UnsupportedEncodingException
org.apache.commons.mail.EmailException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||