1

I'm using a node creation form open to anonymous users to register volunteers for an event, and I want to redirect them to a thank you page, and send them an email when they register.

I'm using Rules to detect the submission of a volunteer node, and trigger a redirect to the thank you page, but I cannot figure out how to send a mail to the address specified in the form submitted.

2

As long as you have the Rules module and the Token module installed, it should be a pretty straightforward.

1) Create a rule that responds to the event "After saving new content"

2) Add an action to that rule "Send a mail to an arbitrary mail address" (from the System section)

3) Use a token for the Recipient field. As long as there is a CCK field for the email address, there will be a token provided for it. It will be listed in "Token replacement patterns."

| improve this answer | |

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.