Khanh Hoang - Kenn
Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.
Managing comments on a busy website can get tedious if you need to login and check continually. It's very convenient to get an email with the comment text, so you can see if it's legitimate or comment spam.
To do this in Drupal we're going to use two core modules, Actions and Triggers. We'll also use the Token module to control over the content and recipients for the email
In this tutorial we're going to use Actions, Triggers and Tokens to show you how to automatically send customized emails from Drupal.
When you are finished creating your message, scroll to the bottom of the screen to click Save.
Here's a sample you can copy to the body. You'll find there are quite a few tokens. If you have custom content types and custom fields and additional plugins, the list may be very long. You should plan out which fields you want to use.
Link: [comment:url] On: [comment:created:medium] By: [comment:name] Email: [comment:mail] [comment:node] Comment Title: [comment:title] [comment:body]
Note: You can get more features from additional modules. For.example,