Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.core.mail
Class Mailer.Message

java.lang.Object
  extended by javax.mail.Message
      extended by javax.mail.internet.MimeMessage
          extended by org.nuxeo.ecm.automation.core.mail.Mailer.Message
All Implemented Interfaces:
MimePart, Part
Enclosing class:
Mailer

public static class Mailer.Message
extends MimeMessage


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.mail.internet.MimeMessage
MimeMessage.RecipientType
 
Field Summary
 
Fields inherited from interface javax.mail.Part
ATTACHMENT, INLINE
 
Constructor Summary
Mailer.Message(Session session)
           
Mailer.Message(Session session, InputStream in)
           
 
Method Summary
 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)
           
 
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
 
Methods inherited from class javax.mail.Message
addRecipient, getFolder, getMessageNumber, isExpunged, match, setFlag, setRecipient
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mailer.Message

public Mailer.Message(Session session)

Mailer.Message

public Mailer.Message(Session session,
                      InputStream in)
               throws MessagingException
Throws:
MessagingException
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.