By Neil Whitworth on
Hi All,
I am developing a website for the scuba diving club I attend, and so far I have managed to get everthing working. However I now find myself stuck - We organise a trip to some of the local dive sites every weekend, and one member from the club is designated as the trip marshal.
I have created a new content type to hold these trips, and added a user referance field to hold the marshal. What I now need is to send this person an e-mail when a trip is created so they know that they are required that weekend.
How can I best do this?
Comments
Have you looked at the
Have you looked at the http://drupal.org/project/actions and/or http://drupal.org/project/workflow modules? I think what you want (sending of an email on node creation) can be done with them.
EDIT: you'll probably need http://drupal.org/project/fieldactions as well.
=============
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Alternatively
Subscriptions may work here (does for me); though the module is currently in beta.
Gareth
True, but that requires the
True, but that requires the cooperation of the people in the user reference field requesting the subscription (and not turning it off). If you want to be sure the email gets sent then you need a different method (there might be other modules, but the only ones that came to mind were actions and workflow).
=============
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Thanks
Looks promising. I shall have a better play tonight when not at work