How do I send an email to the administrator users when a specific link is clicked? I'm working on a new site built with Drupal 6, and I have to program a specific action on the node pages.
I have a page that shows the product information for users. Following the information, I have a button labeled "order now"; when this button is clicked, two scenarios are possible:


if the user is not logged in, he is redirect to the login form
if the user is logged in, an e-mail is sent to the administrator with the current product information and the information of the user who clicked the button
Rules Module can do this for you.