Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for mail

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
mail.inc file core/includes/mail.inc API functions for processing and sending email.
user_mail function core/modules/user/user.module Implements hook_mail().
hook_mail function core/modules/system/system.api.php Prepare a message based on parameters; called from backdrop_mail().
mail.test file core/modules/simpletest/tests/mail.test Test the Backdrop mailing system.
email.info file core/modules/email/email.info type = module name = Email description = Defines an email field type. package = Fields tags[] = Mail tags[] = Content version = BACKDROP_VERSION backdrop = 1.x
email.test file core/modules/email/tests/email.test
LINK_EMAIL constant core/modules/link/link.module
update_mail function core/modules/update/update.module Implements hook_mail().
drupal_mail function core/includes/drupal.inc Composes and optionally sends an email message.
system_mail function core/modules/system/system.module Implements hook_mail().
User::$mail property core/modules/user/user.entity.inc The user's email address.
theme_email function core/includes/form.inc Returns HTML for an email form element.
contact_mail function core/modules/contact/contact.module Implements hook_mail().
email.module file core/modules/email/email.module Module file for the email module, which creates an email address field.
MailTestCase class core/modules/simpletest/tests/mail.test @file Test the Backdrop mailing system.
backdrop_mail function core/includes/mail.inc Composes and optionally sends an email message.
email.install file core/modules/email/email.install Defines schema for email fields
Example: Email group modules/examples/email_example/email_example.module This example demonstrates how to use the mail API.
Comment::$mail property core/modules/comment/comment.entity.inc The comment author's email address.
form_test_email function core/modules/simpletest/tests/form_test.module Form constructor for testing #type 'email' elements.
_user_mail_text function core/modules/user/user.module Returns a mail string for a variable name.
hook_mail_alter function core/modules/system/system.api.php Alter an email message created with the backdrop_mail() function.
system.mail.inc file core/modules/system/system.mail.inc Backdrop core implementations of MailSystemInterface.
user_mail_tokens function core/modules/user/user.module Token callback to add unsafe tokens for user mails.
EMAIL_MAX_LENGTH constant core/modules/system/system.module Maximum length of email fields.
email.tests.info file core/modules/email/tests/email.tests.info [EmailFieldTestCase] name = Email field description = Tests email field functionality. group = Field types file = email.test
drupal_wrap_mail function core/includes/drupal.inc Performs format=flowed soft wrapping for mail (RFC 3676).
email_field_info function core/modules/email/email.module Implements hook_field_info().
DefaultMailSystem class core/modules/system/system.mail.inc The default Backdrop mail backend using PHP's mail function.
TestingMailSystem class core/modules/system/system.mail.inc A mail sending implementation that captures sent messages to a variable.
FormEmailTestCase class core/modules/simpletest/tests/form.test Tests email element.
_user_mail_notify function core/modules/user/user.module Conditionally create and send a notification email when a certain operation happens on the given user account.
email_update_1000 function core/modules/email/email.install Remove the old email module configuration file.
user_load_by_mail function core/modules/user/user.module Fetch a user object by email address.
MAIL_LINE_ENDINGS constant core/includes/mail.inc Auto-detect appropriate line endings for emails.
backdrop_wrap_mail function core/includes/mail.inc Performs format=flowed soft wrapping for mail (RFC 3676).
email_example_mail function modules/examples/email_example/email_example.module Implements hook_mail().
email_example_menu function modules/examples/email_example/email_example.module Implements hook_menu().
email_example_form function modules/examples/email_example/email_example.module The contact form.
email_example.info file modules/examples/email_example/email_example.info name = Email Example description = Demonstrate how to use the email APIs. package = Example modules version = BACKDROP_VERSION backdrop = 1.x type = module
drupal_mail_system function core/includes/drupal.inc Returns an object that implements the MailSystemInterface interface.
MailTestCase::mail function core/modules/simpletest/tests/mail.test Send function that is called through the mail system.
email_example.test file modules/examples/email_example/tests/email_example.test Simpletest case for email_example module.
email_field_schema function core/modules/email/email.install Implements hook_field_schema().
EmailFieldTestCase class core/modules/email/tests/email.test Tests email field functionality.
MailSystemInterface interface core/includes/mail.inc An interface for pluggable mail back-ends.
user_settings_email function core/modules/user/user.admin.inc Form builder; Configure user email settings for this site.
MailTestCase::setUp function core/modules/simpletest/tests/mail.test Sets up a Backdrop site for running functional and integration tests.
form_validate_email function core/includes/form.inc Form element validation handler for #type 'email'.
valid_email_address function core/includes/common.inc Verifies the syntax of the given email address.

Pages

  • 1
  • 2
  • 3
  • next ›
  • last »

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org