
Public Member Functions | |
| ERCMailMessage | composeComponentEmail (String from, NSArray to, NSArray cc, NSArray bcc, String title, WOComponent component, WOComponent plainTextComponent, EOEditingContext ec) |
| ERCMailMessage | composeComponentEmail (String from, NSArray to, NSArray cc, NSArray bcc, String title, String componentName, String plainTextComponentName, NSDictionary bindings, EOEditingContext ec) |
| ERCMailMessage | composeComponentEmail (String from, NSArray to, NSArray cc, NSArray bcc, String title, String componentName, NSDictionary bindings, EOEditingContext ec) |
| ERCMailMessage | composeComponentEmail (String from, NSArray to, NSArray cc, NSArray bcc, String title, WOComponent component, EOEditingContext ec) |
| ERCMailMessage | composeEmail (String from, NSArray to, NSArray cc, NSArray bcc, String title, String message, EOEditingContext ec) |
| ERCMailMessage | composeEmailWithAttachments (String from, NSArray to, NSArray cc, NSArray bcc, String title, String message, NSArray filePaths, EOEditingContext ec) |
Static Public Member Functions | |
| static String | commaSeparatedListFromArray (NSArray a) |
| static ERCMailDelivery | sharedInstance () |
| static boolean | usesMail () |
Static Public Attributes | |
| static final Logger | log = Logger.getLogger(ERCMailDelivery.class) |
Static Protected Attributes | |
| static ERCMailDelivery | _sharedInstance |
| static String commaSeparatedListFromArray | ( | NSArray | a | ) | [static] |
Utilitiy method used to break an array of email addresses down into a comma separated list. Performs a bit of search and replace to clean up the email addresses a bit.
| a | array of email addresses |
| 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.
| from | email address | |
| to | email addresses | |
| cc | email addresses | |
| bcc | email addresses | |
| title | of the message | |
| component | component to render | |
| plainTextComponent | plain-text component to render | |
| ec | editing context to create the mail message in. |
| 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.
| from | email address | |
| to | email addresses | |
| cc | email addresses | |
| bcc | email addresses | |
| title | of the message | |
| componentName | name of the component to render | |
| plainTextComponentName | name of the component to render | |
| bindings | bindings dictionary to use for the components that are instantiated | |
| ec | editing context to create the mail message in. |
| 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.
| from | email address | |
| to | email addresses | |
| cc | email addresses | |
| bcc | email addresses | |
| title | of the message | |
| componentName | name of the component to render | |
| ec | editing context to create the mail message in. |
| ERCMailMessage composeComponentEmail | ( | String | from, | |
| NSArray | to, | |||
| NSArray | cc, | |||
| NSArray | bcc, | |||
| String | title, | |||
| WOComponent | component, | |||
| EOEditingContext | ec | |||
| ) |
Composes a mail message from a given component.
| from | email address | |
| to | email addresses | |
| cc | email addresses | |
| bcc | email addresses | |
| title | of the message | |
| component | to render to get the message | |
| ec | editing context to create the mail message in. |
| ERCMailMessage composeEmail | ( | String | from, | |
| NSArray | to, | |||
| NSArray | cc, | |||
| NSArray | bcc, | |||
| String | title, | |||
| String | message, | |||
| EOEditingContext | ec | |||
| ) |
Composes a mail message.
| from | email address | |
| to | email addresses | |
| cc | email addresses | |
| bcc | email addresses | |
| title | of the message | |
| message | text of the message | |
| ec | editing context to create the mail message in. |
| ERCMailMessage composeEmailWithAttachments | ( | String | from, | |
| NSArray | to, | |||
| NSArray | cc, | |||
| NSArray | bcc, | |||
| String | title, | |||
| String | message, | |||
| NSArray | filePaths, | |||
| EOEditingContext | ec | |||
| ) |
Composes a mail message with attachments.
| from | email address | |
| to | email addresses | |
| cc | email addresses | |
| bcc | email addresses | |
| title | of the message | |
| message | text of the message | |
| filePaths | array of file paths to attach | |
| ec | editing context to create the mail message in. |
| static ERCMailDelivery sharedInstance | ( | ) | [static] |
Gets the shared instance used to create ERCMailMessages.
| static boolean usesMail | ( | ) | [static] |
Is Mail turned on
ERCMailDelivery _sharedInstance [static, protected] |
holds a reference to the shared instance
final Logger log = Logger.getLogger(ERCMailDelivery.class) [static] |
logging supprt
1.5.8