void __construct(
array
&$xmlArr
)
|
|
Initialize emailService with xml array metadata
Parameters:
Redefinition of:
- MetaObject::__construct()
Get error message
API Tags:
mixed LogEmail(
mixed
$result, string
$subject, [mixed
$body = NULL], [mixed
$TOs = NULL], [array
$CCs = NULL], [array
$BCCs = NULL], array
$To
)
|
|
Log that an email attemp was made.
We assume it was successfull, since Zend_Mail throws an exception otherwise
Parameters:
|
string |
$subject: |
|
|
array |
$To: |
|
|
array |
$CCs: |
|
|
array |
$BCCs: |
|
API Tags:
| Return: | boolean|string|void |
| Access: | public |
void ReadMetadata(
array
&$xmlArr
)
|
|
Read array meta-data, and store to meta-object
Parameters:
API Tags:
boolean SendEmail(
[array
$TOs = null], [array
$CCs = null], [array
$BCCs = null], array
$subject, array
$body, [array
$attachments = null], [boolean
$isHTML = false]
)
|
|
A convenience function that will issue an email based on the parameter provided Will log email attempts but will NOT run the body through a template
Parameters:
|
array |
$TOs: |
|
|
array |
$CCs: |
|
|
array |
$BCCs: |
|
|
array |
$subject: |
|
|
array |
$body: |
|
|
array |
$attachments: |
|
|
boolean |
$isHTML: |
|
API Tags:
| Return: | - TRUE on success, FALSE on failure |
| Access: | public |
boolean UseAccount(
string
$accountName
)
|
|
Will set the Default Transport object for the mail object based on the supplied accountname
Parameters:
API Tags:
| Return: | TRUE/FALSE |
| Access: | public |