Is it possible in the 'Email to' field on Webform to put in a Token that sends the email to every Active User on the web site? Not those logged in, but those who have their status on their account as Active? Would save me from copying and pasting the email addresses each time I activate or deactivate someone.

I am guessing I can do something with Rules to do the same thing, but was wondering if I could just plugin a Token within the Webform 'Email to' field.

Thanks.

Comments

quicksketch’s picture

Status: Active » Fixed

This could be possible if you created such a token, but Webform doesn't provide any tokens outside of Webform submission tokens. So if your question is if you can use tokens in the TO address, yes, you can. But a token for "the e-mail address of all active users" doesn't exist through any module that I'm aware of. You'd need to create a small module with hook_token_info() and hook_token_values() to create such a token so you could use it in Webform.

Status: Fixed » Closed (fixed)

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