Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Contact Emails

1,874 sites Security covered Drupal 8–11 Contact ecosystem
View on drupal.org

This module enhances Drupal's core Contact module by allowing you to send multiple, customized emails for each contact form. You can define different recipients, subjects, and messages for each email, utilizing text formats and tokens to personalize the content based on form submissions.

This module provides a more versatile interface and functionality for managing emails that get sent from Drupal Core Contact submissions. It allows users with the new permission 'manage contact form emails' to add as many emails as desired, each with a different recipient or set of recipients (including the submitter of the form), each a different subject or message.

This module allows you to override (and replaces) the simple built in emails sent by the Contact module.
This module requires Contact Storage.

Notable features:

  • Multiple different emails can be sent per form
  • Each email can be sent to:
    • Multiple recipients
    • The submitter of the form
    • The value(s) of an email field on the form
    • The value(s) of an email field in a referenced entity of the form
  • Text formats can be used for emails (WYSIWYG)
  • Tokens can be used in emails (eg, have your email say "Dear John Smith..." when John Smith submits the form, including both the subject and body

Example use case

The website is for a larger organisation and you want one email saying thank you to the submitter of the form, one to the office administrator with some basic info, and one to the marketing manager with specific details about the form, this module would handle that.

Installation

To install this module, place it in your modules folder and enable it on the modules page.

Configuration

There is nothing to configure. Enable the module and users with the required permission can find the new 'Manage Emails' section

How to use this module

Users with the 'manage contact form emails' will find a 'Manage emails' operation in the list of operations on the page containing the list of all contact forms. You can find that at `/admin/structure/contact`.

If the user does not have access that page, you can additionally add a link to `/admin/structure/contact/manage/email-settings` anywhere in your menu.

Storage

Contact emails are stored as content, not configuration.

Feedback on this module

Please add issues with feature requests as well as feedback on the existing functionality.

Initial development

Initial development of this module was sponsored by Fat Beehive until mid-2018.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
8.x-1.24 Stable 8–11 Feb 2, 2025