Send Email Actions Also send unapproved comments

geewaq - August 24, 2008 - 08:41
Project:Actions
Version:5.x-2.5
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:active
Description

I use Send Email Action and trigger it if someone post any comment to any nodes.
It works good and send email notification everytime someone posts comments to my website.
But the problem is.. It also sends unapproved comments (which could be spam comments).

Is there any way to prevent the Send Email action to send out unapproved comments ?

I use Drupal 5 and Actions 5.x-2.5. Thx.

#1

nath - August 26, 2008 - 14:59

Isn't it possible to send the mail when some comment has been approved instead of when it has been created?

#2

geewaq - September 1, 2008 - 02:49

Well, I don't think so..
There are only 4 comment triggers :
1. After saving a new comment
2. After saving an updated comment
3. After deleting a comment
4. When a comment is being viewed by an authenticated user

I use the first one..
So which one do u mean ?

#3

nath - September 1, 2008 - 12:06

If there is no trigger for that, I guess you are out of luck. You'd need to program that trigger yourself.

#4

lwoods - October 5, 2008 - 12:44

I want to send email to all in D6. Is there a trigger for that? I can't find it.

TIA

 
 

Drupal is a registered trademark of Dries Buytaert.