Example of how to use Backdrop's mail API.

File

modules/examples/email_example/email_example.module

Functions

Namesort descending Description
email_example_form The contact form.
email_example_form_submit Form submission logic for the contact form.
email_example_form_validate Form validation logic for the contact form.
email_example_mail Implements hook_mail().
email_example_mail_alter Implements hook_mail_alter().
email_example_mail_send Sends an e-mail.
email_example_menu Implements hook_menu().