org.nuxeo.ecm.automation.core.mail
Class Mailer.Message
java.lang.Object
javax.mail.Message
javax.mail.internet.MimeMessage
org.nuxeo.ecm.automation.core.mail.Mailer.Message
- All Implemented Interfaces:
- MimePart, Part
- Enclosing class:
- Mailer
public static class Mailer.Message
- extends MimeMessage
Methods inherited from class javax.mail.internet.MimeMessage |
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 |
Mailer.Message
public Mailer.Message(Session session)
Mailer.Message
public Mailer.Message(Session session,
InputStream in)
throws MessagingException
- Throws:
MessagingException
addTo
public Mailer.Message addTo(String to)
throws MessagingException
- Throws:
MessagingException
addCc
public Mailer.Message addCc(String cc)
throws MessagingException
- Throws:
MessagingException
addBcc
public Mailer.Message addBcc(String bcc)
throws MessagingException
- Throws:
MessagingException
addFrom
public Mailer.Message addFrom(String from)
throws MessagingException
- Throws:
MessagingException
setFrom
public Mailer.Message setFrom(String from)
throws MessagingException
- Throws:
MessagingException
send
public void send()
throws MessagingException
- Throws:
MessagingException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.