Sendio.Templates (sendio v1.1.0)

Manage templates in Sendio.

Summary

Functions

Link to this function

create(client \\ Sendio.client(), opts)

Creates a new template.

Options

  • :name - The name of the template (required)
  • :subject - The email subject
  • :from - The sender email address
  • :html - The HTML content
  • :text - The plain text content
Link to this function

duplicate(client \\ Sendio.client(), template_id)

Duplicates a template.

Link to this function

get(client \\ Sendio.client(), template_id)

Gets a template by ID.

Link to this function

list(client \\ Sendio.client())

Lists all templates.

Link to this function

publish(client \\ Sendio.client(), template_id)

Publishes a template.

Link to this function

remove(client \\ Sendio.client(), template_id)

Removes a template.

Link to this function

update(client \\ Sendio.client(), template_id, opts)

Updates a template.

Options

  • :name - The name of the template
  • :subject - The email subject
  • :from - The sender email address
  • :html - The HTML content
  • :text - The plain text content