I'm playing with the idea of using a view to supply information to an action to send an email to
a group users. This is what I've got... I'd like to have a bit of feedback regarding this approach that
can be used to write any action. At the moment The email will always be delivered to the owner of
the node associated with the action.

If you look at the code, the idea is to select a view, select a field from the list, and extract the
recipient list from the result of the view. I'm waiting for an answer here: http://drupal.org/node/136240 .
The info are all there, is just a matter of getting them.

As soon as I solve this problem, the idea is to create a variable for each field in the view to be substitute
in the email text. I've also another small problem with the view arguments.

What do you think ? help appreciated.

using views 1.6-beta4

CommentFileSizeAuthor
action.inc_.txt5.63 KBmunga

Comments

somebodysysop’s picture

If you are looking to use actions to do scheduling (defered delivery) of emails, take a look at this: http://drupal.org/node/138061.

If you simply want to create a recipient list from a view, actions is not necessary to do this. I'm currently doing it using a modified version of this module: http://drupal.org/node/134931.

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Actions is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.