Project Wonder 2.0

er.javamail
Class ERMailDeliveryPlainText

java.lang.Object
  extended byer.javamail.ERMailDelivery
      extended byer.javamail.ERMailDeliveryPlainText

public class ERMailDeliveryPlainText
extends ERMailDelivery

This ERMailDelivery subclass is specifically crafted for plain text messages.

Author:
Camille Troillard

Field Summary
 
Fields inherited from class er.javamail.ERMailDelivery
_attachments, _callbackObject, _charset, _inlineAttachments, _mimeMessage, callBackClassName, callBackMethodName, DefaultCharset
 
Constructor Summary
ERMailDeliveryPlainText()
           
 
Method Summary
protected  javax.activation.DataHandler prepareMail()
          Pre-processes the mail before it gets sent.
 void setTextContent(String text)
          Sets the text content of the current message.
 
Methods inherited from class er.javamail.ERMailDelivery
_attachments, _inlineAttachments, addAttachment, addInlineAttachment, attachments, buildMessage, callbackObject, charset, finishMessagePreparation, inlineAttachments, internetAddressWithEmailAndPersonal, mimeMessage, newMail, removeAttachment, sendMail, sendMail, session, setBCCAddresses, setCallBackClassWithMethod, setCallbackObject, setCCAddresses, setCharset, setFromAddress, setFromAddress, setInternetAddresses, setMimeMessage, setReplyToAddress, setSession, setSubject, setToAddress, setToAddress, setToAddresses, setXMailerHeader, xMailerHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERMailDeliveryPlainText

public ERMailDeliveryPlainText()
Method Detail

setTextContent

public void setTextContent(String text)
Sets the text content of the current message.


prepareMail

protected javax.activation.DataHandler prepareMail()
                                            throws javax.mail.MessagingException
Pre-processes the mail before it gets sent.

Specified by:
prepareMail in class ERMailDelivery
Returns:
the multipart used to put in the mail.
Throws:
javax.mail.MessagingException
See Also:
ERMailDelivery.prepareMail()

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.