
Classes | |
| class | DefaultFactory |
| interface | Factory |
Public Member Functions | |
| void | newMail () |
| void | setHiddenPlainTextContent (String content) |
| void | setHTMLContent (String content) |
Static Public Member Functions | |
| static Factory | factory () |
| static ERMailDeliveryHTML | newMailDelivery () |
| static void | setFactory (Factory value) |
Protected Member Functions | |
| String | htmlContent () |
| DataHandler | prepareMail () throws MessagingException |
Protected Attributes | |
| String | _htmlContent |
Static Protected Attributes | |
| static Factory | factory |
Private Attributes | |
| String | _hiddenPlainTextContent |
Gets the current factory. If the factory is unset, sets it to the default factory.
| String htmlContent | ( | ) | [protected] |
| void newMail | ( | ) |
Creates a new mail instance within ERMailDelivery. Sets hasHiddenPlainTextContent to false.
Reimplemented from ERMailDelivery.
| static ERMailDeliveryHTML newMailDelivery | ( | ) | [static] |
| DataHandler prepareMail | ( | ) | throws MessagingException [protected, virtual] |
Pre-processes the mail before it gets sent.
Implements ERMailDelivery.
| static void setFactory | ( | Factory | value | ) | [static] |
Sets the factory.
| value | the factory to use |
| void setHiddenPlainTextContent | ( | String | content | ) |
Sets the Plain text preamble that will be displayed set in top of HTML source. Non-HTML compliant mail readers can at least display this message.
| void setHTMLContent | ( | String | content | ) |
Sets the HTML content. Note that if you set the WOComponent to be used when rendering the message this content will be ignored.
| content | HTML content to be used |
String _hiddenPlainTextContent [private] |
Plain text preamble set in top of HTML source so that non-HTML compliant mail readers can at least display this message.
String _htmlContent [protected] |
Holds the HTML content
1.5.8