public class ContentModelMessage extends AbstractMimeMessage
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_EMAIL_FROM |
protected static String |
DEFAULT_EMAIL_TO |
DEFAULT_SUFFIX, generateBody, imapService, isMessageInSitesLibrary, MAX_RETRIES, messageFileInfo, serviceRegistry, wrappedMessage| Constructor and Description |
|---|
ContentModelMessage(FileInfo fileInfo,
ServiceRegistry serviceRegistry,
boolean generateBody) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildMessageInternal()
Method must be implemented in subclasses.
|
buildMessage, checkParameter, getEmailBodyText, getFlags, getMessageInfo, setFlags, setMessageHeaders, updateMessageIDaddFrom, addHeader, addHeaderLine, addRecipients, addRecipients, createInternetHeaders, createMimeMessage, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, parse, removeHeader, reply, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFrom, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, setText, updateHeaders, writeTo, writeToprotected static final String DEFAULT_EMAIL_FROM
protected static final String DEFAULT_EMAIL_TO
public ContentModelMessage(FileInfo fileInfo, ServiceRegistry serviceRegistry, boolean generateBody) throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic void buildMessageInternal()
throws javax.mail.MessagingException
AbstractMimeMessagebuildMessageInternal in class AbstractMimeMessagejavax.mail.MessagingExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.