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'.

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

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

| improve this answer | |
  • Can we set the Rule for a particular webform or it is generalize for all web form. – Arun Saini Dec 12 '14 at 13:15
  • Yes its possible have to add another condition: "Webform has name" – Pravin Ajaaz Dec 12 '14 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 '14 at 13:31
  • Not in "events" section you should check it in "conditions" – Pravin Ajaaz Dec 12 '14 at 13:32
  • its also possible to send emails to all users of sites. – Arun Saini Dec 22 '14 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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