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.

Comments

nath’s picture

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

geewaq’s picture

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 ?

nath’s picture

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

lwoods’s picture

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

TIA

Pomliane’s picture

Status: Active » Closed (won't fix)

This version of Actions is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.