Nuxeo Enterprise Platform 5.4

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:
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 interface javax.mail.Part
ATTACHMENT, INLINE
 
Constructor Summary
Mailer.Message(javax.mail.Session session)
           
Mailer.Message(javax.mail.Session session, java.io.InputStream in)
           
 
Method Summary
 Mailer.Message addBcc(java.lang.String bcc)
           
 Mailer.Message addCc(java.lang.String cc)
           
 Mailer.Message addFrom(java.lang.String from)
           
 Mailer.Message addTo(java.lang.String to)
           
 void send()
           
 Mailer.Message setFrom(java.lang.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(javax.mail.Session session)

Mailer.Message

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

addTo

public Mailer.Message addTo(java.lang.String to)
                     throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

addCc

public Mailer.Message addCc(java.lang.String cc)
                     throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

addBcc

public Mailer.Message addBcc(java.lang.String bcc)
                      throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

addFrom

public Mailer.Message addFrom(java.lang.String from)
                       throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

setFrom

public Mailer.Message setFrom(java.lang.String from)
                       throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

send

public void send()
          throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.