EmailMarketing
Use this API to create, update and delete e-mail marketing messages.
Methods
Invoke via \Components\Marketing\EmailMarketing::method()
Click a method name to copy it.
Gets a record from the database
Parameters
$iEmailMessageId
int
A record's email_message_id
Return a set of records from the database
Deletes a record from the database
Parameters
$iEmailMessageId
int
A record's email_message_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a single field from a record
Parameters
$iEmailMessageId
int
A record's email_message_id
Returns the number of records in the database (matching the filter if specified)
Returns the currently sending message id
Return
or NULL when not currently sending
Returns a link to the currently sending message
Useful for linking to a "View Online" function inside an email.
Return
URL of email preview
Saves a record into the database
Saves a specific column of a row into a database
Parameters
$iEmailMessageId
int
A record's email_message_id