public static class Mailer.Message extends MimeMessage
MimeMessage.RecipientType
ATTACHMENT, INLINE
Constructor and Description |
---|
Mailer.Message(Session session) |
Mailer.Message(Session session,
InputStream in) |
Modifier and Type | Method and Description |
---|---|
Mailer.Message |
addBcc(String bcc) |
Mailer.Message |
addCc(String cc) |
Mailer.Message |
addFrom(String from) |
Mailer.Message |
addTo(String to) |
void |
send() |
Mailer.Message |
setFrom(String from) |
addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, 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, 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, writeTo, writeTo
addRecipient, getFolder, getMessageNumber, isExpunged, match, setFlag, setRecipient
public Mailer.Message(Session session)
public Mailer.Message(Session session, InputStream in) throws MessagingException
MessagingException
public Mailer.Message addTo(String to) throws MessagingException
MessagingException
public Mailer.Message addCc(String cc) throws MessagingException
MessagingException
public Mailer.Message addBcc(String bcc) throws MessagingException
MessagingException
public Mailer.Message addFrom(String from) throws MessagingException
MessagingException
public Mailer.Message setFrom(String from) throws MessagingException
MessagingException
public void send() throws MessagingException
MessagingException
Copyright © 2011 Nuxeo SA. All Rights Reserved.