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

WorldFallz’s picture

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.

gareth_w’s picture

Subscriptions may work here (does for me); though the module is currently in beta.

Gareth

WorldFallz’s picture

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.

Neil Whitworth’s picture

Looks promising. I shall have a better play tonight when not at work