Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By mcdruid on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x
Introduced in version:
7.76
Issue links:
Description:
Drupal 7 now has an option to use the site name (i.e. the value of the site_name
variable) as the "Display Name" in the From header in system e-mails.
For example this would mean the sender might be "Acme Website" <acme@example.com>
as opposed to just the e-mail address alone.
In order to avoid disruption, this is not enabled by default for existing sites. New sites will have it enabled by default if they start from a new copy of default.settings.php
The feature can be enabled by setting the following variable to TRUE:
$conf['mail_display_name_site_name'] = TRUE;
drush variable-set mail_display_name_site_name TRUE
Impacts:
Site builders, administrators, editors
Distribution developers