er.javamail
Class ERMailDeliveryPlainText
java.lang.Object
er.javamail.ERMailDelivery
er.javamail.ERMailDeliveryPlainText
- public class ERMailDeliveryPlainText
- extends ERMailDelivery
This ERMailDelivery subclass is specifically crafted for plain text messages.
- Author:
- Camille Troillard
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 |
ERMailDeliveryPlainText
public ERMailDeliveryPlainText()
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()
Copyright © 2002 – 2004 Project Wonder.