Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Sender

Sender is a module to create customizable messages that can be sent by email or other methods to users.

This module offers an API to allow developers to send customizable messages to users. The module comes with a plugin to send messages by e-mail out-of-the-box, but plugins for other delivery methods can be added.

The messages can be customized by authorized users through a form that allows tokens to be used. Moreover, custom templates for messages may be provided by modules or themes.

Installation

How to install the Sender module

Administer messages

How to create, edit and delete messages.

Token Replacement

Token replacement is available for the message's fields.

Instantiating the Sender service

How to instantiate the service to start sending messages.

Sending messages

How to send messages with Sender service.

Hooks available

Sender provides some hooks that other modules can implement.

Custom templates

Provide custom templates to render messages.

Custom methods

Provide a custom method plugin.

Module defined messages

How to create messages from a module

Message groups

They are provided by modules to specify expected properties for specific purposes.

Guide maintainers

dbiscalchin's picture