public class ContentModelMessage extends AbstractMimeMessage
MimeMessage.RecipientType
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
cachedContent, content, contentStream, dh, flags, headers, modified, saved
ATTACHMENT, INLINE
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, updateMessageID
addFrom, 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, writeTo
addRecipient, getFolder, getMessageNumber, getSession, isExpunged, match, setExpunged, setFlag, setMessageNumber, setRecipient
protected static final String DEFAULT_EMAIL_FROM
protected static final String DEFAULT_EMAIL_TO
public ContentModelMessage(FileInfo fileInfo, ServiceRegistry serviceRegistry, boolean generateBody) throws MessagingException
MessagingException
public void buildMessageInternal() throws MessagingException
AbstractMimeMessage
buildMessageInternal
in class AbstractMimeMessage
MessagingException
Copyright © 2005–2017 Alfresco Software. All rights reserved.