Here is a patch to add token support for email module. Basically copied functionality of link module. tested on my project and works.

CommentFileSizeAuthor
token_add_email_cck.patch930 bytesmichaelfavia

Comments

michaelfavia’s picture

Status: Needs review » Reviewed & tested by the community

marking as rtbc please downgrade to review if you have problems with it. simple enough that i doubt that. if you prefer all code as "review first" just let me know.

jody lynn’s picture

Great- very useful. I saw some issues needing this on email.module as well but this is definitely the simplest place to incorporate the code.

greggles’s picture

Project: Token » Email Field
Status: Reviewed & tested by the community » Needs work

This should be added to the emailfield module.

The code should still basically apply.

Note that either the token should be called "email-raw" with a warning or the $item['email']; should be run through check_plain first.

scottrigby’s picture

Hi -
I want to test this, but can't even find where to customize the email that gets sent through email field contact form?
If someone can enlighten me, that'd be great... Then I'll give it a whirl
Thanks!
:))
Scott

mh86’s picture

Status: Needs work » Fixed

I integrated the token support for email addresses, thanks for the patch

Anonymous’s picture

Status: Fixed » Closed (fixed)

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