drupal-eca-recipe/eca_lib_0025

Send email on user registration with field values

Installs: 224

Dependents: 0

Suggesters: 0

Security: 0

Type:drupal-recipe

3.1.2 2025-08-10 14:12 UTC

This package is auto-updated.

Last update: 2025-08-10 14:14:44 UTC


README

ID: eca_lib_0025

This model sends an email to a user that has just registered on the site. That email contains field values, that the user just provided in the registration form, where one of the fields is mandatory and the other one is optional. The email message is different, depending upon the optional field being filled or not.

The creation of this model was recorded and can be watched here.

Installation

## Import recipe
composer require drupal-eca-recipe/eca_lib_0025

# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/{{ rawid }}

# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0025

# Rebuilding caches is optional, sometimes required:
drush cr