1

How can I send emails to specific user roles when a specific Webform is submitted?

For example if a Webform named test is submitted then we have to send email to all users having the role say 'editor'.

1
  • 2
    Is this a custom form using the form API, or a form like eg. node edit?
    – Wtower
    Dec 12, 2014 at 11:15

1 Answer 1

2

This could be done by combining Rules and Webform Rules Modules

In Rules Module You could use the following Settings:

Events: After a webform has been submitted

Conditions: User has role(s) and Webform has name (to apply for particular webform)

Actions: Send HTML e-mail

5
  • Can we set the Rule for a particular webform or it is generalize for all web form.
    – Arun Saini
    Dec 12, 2014 at 13:15
  • Yes its possible have to add another condition: "Webform has name" Dec 12, 2014 at 13:27
  • After select Events: After a webform has been submitted condition: "Webform has name" is not show. Iam using Drupal 6.
    – Arun Saini
    Dec 12, 2014 at 13:31
  • Not in "events" section you should check it in "conditions" Dec 12, 2014 at 13:32
  • its also possible to send emails to all users of sites.
    – Arun Saini
    Dec 22, 2014 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.