Email field module and Action "Send Email" not accepting Token field in Recipient Field

Created on 18 February 2011, over 13 years ago
Updated 22 April 2024, about 2 months ago

Problem/Motivation

Using Drupal 7.

Want to create an advanced action in configuration:actions to Send Email.

When I do that, in the Recipient Field I want to add a tokenized field from the list below. It's a field I created with the "Email Field" module. It inserts the tokenized field when I click on it. The tokenized field is called [node:field-email].

When I submit the page however, it gives error: "Enter a valid email address or use a token e-mail address such as [node:author:mail]." But I am using a token email address, one that is created with the email field module.

Why doesn't it like my email field token?

I'm otherwise stuck with this because if I try to use Rules instead, there are bugs with Rules 7 to the point that I can't send an email that way either because I get fatal errors.

Steps to reproduce

Proposed resolution

Remaining tasks

Reroll patch
Write a test
Review
Commit

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
SystemΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States emzemz

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024