![]() |
Xataface Email Module 0.3
Email/Mailmerge Module for Xataface
|
Public Member Functions | |
handle (&$params) | |
isBlackListed ($email) | |
getBlackListed ($emails) | |
createEmailTables ($tablename, $join_table) | |
_replaceFieldCallback ($matches) | |
Called on matches of field macros. $matches[0] e.g. {$fieldname} $matches[1] e.g. fieldname. | |
getAttachments ($emailId) | |
sendMail ($emailId, $emailTable=null, $joinTable=null, $recipientsTable=null, $emailColumn=null) | |
postJob ($emailId, $emailTable=null, $joinTable=null, $recipientsTable=null, $emailColumn=null) | |
Data Fields | |
$messages = array() | |
$emailTable | |
$joinTable | |
$recipientsTable | |
$emailColumn |
This action sends email to the current found set. It provides the user with an email form where they can type a subject and a body. They can include macro variables that will be parsed for each record so that each email can be customized to an extent.
_replaceFieldCallback | ( | $ | matches | ) |
createEmailTables | ( | $ | tablename, |
$ | join_table | ||
) |
postJob | ( | $ | emailId, |
$ | emailTable = null , |
||
$ | joinTable = null , |
||
$ | recipientsTable = null , |
||
$ | emailColumn = null |
||
) |
sendMail | ( | $ | emailId, |
$ | emailTable = null , |
||
$ | joinTable = null , |
||
$ | recipientsTable = null , |
||
$ | emailColumn = null |
||
) |
Sends the email specified by $emailId to all recipients.
integer | $emailId | The id of the email message. |
string | $emailTable | Optional the name of the table containing the email messages. |
string | $joinTable | Optional the name of the table corresponding to a single recipient of the given email. |
string | $recipientsTable | The name of the table where the recipients originated from. |
string | $emailColumn | The name of the column that stored the email address. |