public class ERCMailDelivery extends Object
Name | Description |
---|---|
er.corebusinesslogic.ERCUseMailFacility | er.corebusinesslogic.ERCUseMailFacility |
Modifier and Type | Field and Description |
---|---|
protected static ERCMailDelivery |
_sharedInstance
holds a reference to the shared instance
|
static org.apache.log4j.Logger |
log
logging supprt
|
Constructor and Description |
---|
ERCMailDelivery() |
Modifier and Type | Method and Description |
---|---|
static String |
commaSeparatedListFromArray(NSArray a)
Utilitiy method used to break an array of email addresses
down into a comma separated list.
|
ERCMailMessage |
composeComponentEmail(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
String componentName,
NSDictionary bindings,
EOEditingContext ec)
Composes a mail message from a given component.
|
ERCMailMessage |
composeComponentEmail(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
String componentName,
String plainTextComponentName,
NSDictionary bindings,
EOEditingContext ec)
Composes a mail message from a given component.
|
ERCMailMessage |
composeComponentEmail(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
WOComponent component,
EOEditingContext ec)
Composes a mail message from a given component.
|
ERCMailMessage |
composeComponentEmail(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
WOComponent component,
WOComponent plainTextComponent,
EOEditingContext ec)
Composes a mail message from previously instantiated components.
|
ERCMailMessage |
composeEmail(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
String message,
EOEditingContext ec)
Composes a mail message.
|
ERCMailMessage |
composeEmailWithAttachments(String from,
NSArray to,
NSArray cc,
NSArray bcc,
String title,
String message,
NSArray filePaths,
EOEditingContext ec)
Composes a mail message with attachments.
|
static ERCMailDelivery |
sharedInstance()
Gets the shared instance used to create
ERCMailMessages.
|
static boolean |
usesMail()
Is Mail turned on
|
public static final org.apache.log4j.Logger log
protected static ERCMailDelivery _sharedInstance
public static ERCMailDelivery sharedInstance()
public static String commaSeparatedListFromArray(NSArray a)
a
- array of email addressespublic static boolean usesMail()
public ERCMailMessage composeEmail(String from, NSArray to, NSArray cc, NSArray bcc, String title, String message, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagemessage
- text of the messageec
- editing context to create the mail
message in.public ERCMailMessage composeEmailWithAttachments(String from, NSArray to, NSArray cc, NSArray bcc, String title, String message, NSArray filePaths, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagemessage
- text of the messagefilePaths
- array of file paths to attachec
- editing context to create the mail
message in.public ERCMailMessage composeComponentEmail(String from, NSArray to, NSArray cc, NSArray bcc, String title, WOComponent component, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagecomponent
- to render to get the messageec
- editing context to create the mail
message in.public ERCMailMessage composeComponentEmail(String from, NSArray to, NSArray cc, NSArray bcc, String title, String componentName, NSDictionary bindings, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagecomponentName
- name of the component to renderec
- editing context to create the mail
message in.public ERCMailMessage composeComponentEmail(String from, NSArray to, NSArray cc, NSArray bcc, String title, String componentName, String plainTextComponentName, NSDictionary bindings, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagecomponentName
- name of the component to renderplainTextComponentName
- name of the component to renderbindings
- bindings dictionary to use for the components that are instantiatedec
- editing context to create the mail
message in.public ERCMailMessage composeComponentEmail(String from, NSArray to, NSArray cc, NSArray bcc, String title, WOComponent component, WOComponent plainTextComponent, EOEditingContext ec)
from
- email addressto
- email addressescc
- email addressesbcc
- email addressestitle
- of the messagecomponent
- component to renderplainTextComponent
- plain-text component to renderec
- editing context to create the mail
message in.Copyright © 2002 – 2024 Project Wonder.