public class ERMailDeliveryHTML extends ERMailDeliveryComponentBased
| Modifier and Type | Class and Description |
|---|---|
static class |
ERMailDeliveryHTML.DefaultFactory
The default factory.
|
static interface |
ERMailDeliveryHTML.Factory |
| Modifier and Type | Field and Description |
|---|---|
protected String |
_htmlContent
Holds the HTML content
|
protected static ERMailDeliveryHTML.Factory |
factory |
_alternativeComponent, _component, _sessionDictionary_attachments, _charset, _inlineAttachments, _mimeMessage, DefaultCharset| Constructor and Description |
|---|
ERMailDeliveryHTML() |
| Modifier and Type | Method and Description |
|---|---|
static ERMailDeliveryHTML.Factory |
factory()
Gets the current factory.
|
protected String |
htmlContent() |
void |
newMail()
Creates a new mail instance within ERMailDelivery.
|
static ERMailDeliveryHTML |
newMailDelivery() |
protected DataHandler |
prepareMail()
Pre-processes the mail before it gets sent.
|
static void |
setFactory(ERMailDeliveryHTML.Factory value)
Sets the factory.
|
void |
setHiddenPlainTextContent(String content)
Sets the Plain text preamble that will be displayed set in top of HTML source.
|
void |
setHTMLContent(String content)
Sets the HTML content.
|
_componentContentString, alternativeComponent, alternativeComponentContentString, component, componentContentString, sessionDictionary, setAlternativeComponent, setComponent, setSessionDictionary_attachments, _inlineAttachments, addAttachment, addInlineAttachment, attachments, buildMessage, charset, contextString, finishMessagePreparation, inlineAttachments, internetAddressWithEmailAndPersonal, mimeMessage, removeAttachment, sendMail, sendMail, session, setAdditionalHeader, setBCCAddresses, setBCCAddresses, setCCAddresses, setCCAddresses, setCharset, setContextString, setDelegate, setFromAddress, setFromAddress, setInternetAddresses, setMimeMessage, setReplyToAddress, setReplyToAddress, setSession, setSubject, setToAddress, setToAddress, setToAddresses, setToAddresses, setUserInfo, setXMailerHeader, userInfo, xMailerHeaderprotected static ERMailDeliveryHTML.Factory factory
protected String _htmlContent
public static ERMailDeliveryHTML.Factory factory()
public static void setFactory(ERMailDeliveryHTML.Factory value)
value - public static ERMailDeliveryHTML newMailDelivery()
public void setHiddenPlainTextContent(String content)
public void setHTMLContent(String content)
content - public void newMail()
newMail in class ERMailDeliveryprotected String htmlContent()
protected DataHandler prepareMail() throws javax.mail.MessagingException
prepareMail in class ERMailDeliveryjavax.mail.MessagingExceptionERMailDelivery.prepareMail()Copyright © 2002 – 2020 Project Wonder.