Prevent unwanted email

Created on 10 January 2024, 6 months ago

Problem/Motivation

I have a pretty simple cron-based task that uses a views query to provide a list of users across many groups that have a specific group role but not a specific Drupal user role. When cron runs it triggers a custom event that assigns the Drupal role to the listed users.

The task works as expected, but when it adds the role, it sends the user an empty email message, but there is no directive to do so.

Thanks for any guidance in figuring this out!

Steps to reproduce

cron >> User: switch current account (1) >> Views: execute query (gets list of usernames) >> Trigger a custom event (entity aware)

custom even entity aware) >> Pre-Configured: Add the [role name] role to the selected user(s)

πŸ’¬ Support request
Status

Active

Version

3.2

Component

Usability

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024