How to setup a comment email-notification on Drupal using Triggers & Actions

Today I gonna show yo how to setup a comment email-notification on Drupal like wordpress. This is very simple and works perfectly. OK let's start.

[1] First let's enable the module Trigger. (Administer -> Site Building -> Modules)

drupal trigger

[2] Second let's setup Action. (Administer -> Site Configuration -> Actions) Now at the bottom Make a new advanced action select Send e-mail

and then click create. Now you get a new window with some configuration fields.

  1. Write a brief description.
  2. Write a Recipient an email address where you want your commend notifications to be send. (or you can even type %author then it will send an e-mail to the author of the original post)
  3. Write a subject

4. Write a short message

Something like this below;

New comment on %site_name

%node_url

This will create an email template with your site name and the node URL of the comment posted. You can still add or fetch more data to your email like, (%site_name,%username, %node_url, %node_type, %title, %teaser, %body).

Now click Save.

drupal action setup

[3] Assign a new trigger.

Go to Adminster -> Site Building -> Triggers and at the top click on Comments and then below choose your email subject from After saving a new comment seclection box. Now after selecting your email subject (The description name you have given to actions) click Assign.

drupal trigger assign

That's all very simple next try to submit a new commend and then check your email.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alonerosekin's picture

Silver Tiffany Rings Store

Heart Silver tiffany sets for sale is especially popular right now, so this would be a great pick for all you trendy folks. For all the animal lovers, you can try an adorable sterling silver ring with a diamond accented dolphin. If you're not much of a ringing person, don't worry, Zales have basically everything when it comes to online shopping? If you're a classic type of lady, Silver Tiffany Rings Store studs never go out of style. A ½ carat of diamond studs feature dazzling diamonds with an impressive I2-I3 clarity grading. And the price! An astounding $350, Wow!Judith Ripka is known for her innovative and edgy jewelry and now without going to a boutique you can get your hands on all her dazzling jewelry while online shopping. Used to getting the evil eye from those jealous of your jewelry savvy? Well, give them a chance to really stare once they see your Silver Tiffany Earrings for women. This two-tone cuff features sterling silver and 18 karat yellow gold topped off with a pave center and diamond accents. With a price tag of $1,100, this is a true bargain. Want more in Silver Tiffany Necklace for women? For something truly decadent, the Heart Necklace with Pave Diamond is the perfect choice. Since pave is so popular, you'll be the belle of the ball in this piece that features an 18 karat yellow gold chain with full cut, round brilliant pave diamond making up an exquisite heart. At $5,800 this piece of diamond jewelry is certainly worth the price.Who would ever think you would be able to do some online shopping at the ultra exclusive Silver Tiffany Key Rings online store? Well, now you can. 2