When setting the to_mail field to a tokenized value (specifically site:mail), the preprocess hook for html mail converts that value from the config to a string. The token value is not shown when building the HTML mail and the token itself is displayed. Using a custom email address, the value is already in string format and so it is displayed properly in the resultant email.

CommentFileSizeAuthor
#2 3068252.patch545 bytesliquidgnome

Comments

liquidgnome created an issue. See original summary.

liquidgnome’s picture

StatusFileSize
new545 bytes

  • jwilson3 committed f76e181 on 8.x-1.x
    Issue #3068252 by liquidgnome: Webform email token preprocess sends...
jwilson3’s picture

Status: Active » Fixed

Patch applied with minor whitespace cleanup.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.