Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Media/Document Notifier

No security coverage Under active development

This module sends email notifications when files with specific extensions are uploaded to your Drupal site. You can configure which file types trigger an email, who receives the notifications, and what the email subject and message say, including placeholders for the file URL and the uploader's username.

Media/Document Notifier emails selected recipients when a file with a configured extension becomes permanent. Use it to notify a team when a document or media upload has been saved.

Features

  • Filter notifications by file extension.
  • Configure up to 50 recipient addresses, an email subject, and a plain-text message.
  • Notify when a file is created as permanent or changes from temporary to permanent. Abandoned uploads and later saves of the same permanent file do not send another notification.
  • Preserve the original case of recipient addresses and remove exact duplicates.
  • Restrict configuration to trusted administrators through the administer media document notifier permission.

Installation and configuration

Install with composer require 'drupal/medianotify:^1.0', then enable custom_email_notify. The Drupal File and Media modules are required.

Open Configuration > System > Media/Document Notifier. Enter extensions without dots, comma-separated recipient addresses, the subject, and message. No mail is sent until recipients have been configured.

Message placeholders and file access

[file_url] inserts the absolute file URL. [current-username] inserts the file owner's account name, not necessarily the signed-in user's name. These are literal placeholders provided by this module, not Drupal Token API tokens.

A notification does not grant access to a private file. Recipients must have an account with permission to download it. Files are linked, not attached.

Requirements

Requires Drupal ^10.6 || ^11.3. Use a security-supported core release. The current release has been tested on Drupal 10.6, 11.3, and 11.4.

Ask your assistant about Media/Document Notifier

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Sep 2023
Latest release
1 month ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.8 Stable Sep 24, 2026
1.0.7 Stable Aug 16, 2026
1.0.6 Stable Jul 14, 2026
1.0.5 Stable Jun 18, 2026
1.0.3 Stable Jun 18, 2026
1.0.2 Stable Sep 1, 2023