\Mandrill_Templates
Synopsis
class Mandrill_Templates
{
- // methods
- public void __construct()
- public struct add()
- public struct info()
- public struct update()
- public struct publish()
- public struct delete()
- public array getList()
- public array timeSeries()
- public struct render()
Methods
public
- __construct()
- add() — Add a new template
- delete() — Delete a template
- getList() — Return a list of all the templates available to this user
- info() — Get the information for an existing template
- publish() — Publish the content for the template. Any new messages sent using this template will start using the content that was previously in draft.
- render() — Inject content and optionally merge fields into a template, returning the HTML that results
- timeSeries() — Return the recent history (hourly stats for the last 30 days) for a template
- update() — Update the code for an existing template. If null is provided for any fields, the values will remain unchanged.