Class Mailer.Message
java.lang.Object
javax.mail.Message
javax.mail.internet.MimeMessage
org.nuxeo.ecm.automation.core.mail.Mailer.Message
- All Implemented Interfaces:
javax.mail.internet.MimePart
,javax.mail.Part
- Enclosing class:
- Mailer
public static class Mailer.Message
extends javax.mail.internet.MimeMessage
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.mail.internet.MimeMessage
javax.mail.internet.MimeMessage.RecipientType
-
Field Summary
Fields inherited from class javax.mail.internet.MimeMessage
content, contentStream, dh, flags, headers, modified, saved
Fields inherited from class javax.mail.Message
expunged, folder, msgnum, session
Fields inherited from interface javax.mail.Part
ATTACHMENT, INLINE
-
Constructor Summary
ConstructorDescriptionMessage
(javax.mail.Session session) Message
(javax.mail.Session session, InputStream in) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInfoInMessageHeader
(String address, Mailer.Message.AS as) asStringList
(Object[] objects) protected MailMessage
fromMimeMessage
(javax.mail.internet.MimeMessage original) void
send()
Methods inherited from class javax.mail.internet.MimeMessage
addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, createInternetHeaders, createMimeMessage, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, parse, removeHeader, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, setText, updateHeaders, updateMessageID, writeTo, writeTo
Methods inherited from class javax.mail.Message
addRecipient, getFolder, getMessageNumber, isExpunged, match, setExpunged, setFlag, setMessageNumber, setRecipient
-
Constructor Details
-
Message
public Message(javax.mail.Session session) -
Message
- Throws:
javax.mail.MessagingException
-
-
Method Details
-
addTo
- Throws:
javax.mail.MessagingException
-
addCc
- Throws:
javax.mail.MessagingException
-
addBcc
- Throws:
javax.mail.MessagingException
-
addFrom
- Throws:
javax.mail.MessagingException
-
addInfoInMessageHeader
public void addInfoInMessageHeader(String address, Mailer.Message.AS as) throws javax.mail.MessagingException - Throws:
javax.mail.MessagingException
-
setFrom
- Throws:
javax.mail.MessagingException
-
send
public void send() throws javax.mail.MessagingException- Throws:
javax.mail.MessagingException
-
fromMimeMessage
-
asStringList
-