tags:

views:

22

answers:

1

I have created a Drupal CCK content Event. Wen someone creates an event. I want an email to be sent to the users with one specific role. Also, this should happen if the creator of the event gives his consent to the website for this. How is this possible in Drupal website.

+2  A: 

You should take a look at the rules module. It's made for things just like this.

googletorp
Is there no other way to go about this?
abhishekgupta92
You could custom code a less generic solution, fx in a submit hook for the node_form. But ultimately, there is only one way to do it, react on the content being created and execute a php function to send out the mails.
googletorp
thanks dis worked for me.. thumbs up..
abhishekgupta92