Closed (cannot reproduce)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2011 at 18:46 UTC
Updated:
25 May 2013 at 02:52 UTC
Hi, I created a new and updated by announce type and my rule I made when this happens never happens, I never see the email and I've checked spam folder. also have the debug log on and nothing shows.
Here is my exported rule.
Export of reaction rule "send email for updated announcements"
Export
{ "rules_send_email_for_updated_announcements" : {
"LABEL" : "send email for updated announcements",
"PLUGIN" : "reaction rule",
"REQUIRES" : [ "rules" ],
"ON" : [ "node_update" ],
"IF" : [
{ "node_is_of_type" : {
"node" : [ "node" ],
"type" : { "value" : { "advertisement" : "advertisement" } }
}
}
],
"DO" : [
{ "mail" : {
"to" : "jim@v-community.com",
"subject" : "[site:name] Updated Announcement",
"message" : "[node:title]\r\n\r\n\r\n[node:body]\r\n\r\n[node:summary]\r\n\r\n\r\n[site:name]\r\n[site:slogan]\r\n[site:url]"
}
}
]
}
}For importing copy the content of the text area and paste it into the import page.
Comments
Comment #1
dasjolooks good, the rule should trigger whenever you update a node of type "advertisement", make sure you do so.
you can also try to output a debug message using the "show a message on the site" action
ps: please use the <code> tag to wrap code you post in issues :)
Comment #2
ptmkenny commentedFeel free to re-open if you are still having this issue.
Comment #2.0
ptmkenny commentedUpdated issue summary.