I want exactly like this Send notification e-mail after new content was added but the answer is not seems to be question specific. I have a webform where I get email id of the anonymous users and I want to send email to those ids when I save a new content.
I have combined Rules and webform rules for it. I created an
event -After saving new content
Condition -Content is of type
Actions -Fetch webform submissions of node ID n
Loop -fetched submissions
loop action -Send mail.
But i am stuck to move forward as I am not able to configure 'TO' field with email fields from fetched submissions.
[node:field-name_of_field]
. Just put this in the "To" field.<?php print $data['components']['email']['value'][0]; ?>
and please read the note on webform rules module.