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

dasjo’s picture

Component: Rules Core » Rules Engine

looks 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 :)

ptmkenny’s picture

Component: Rules Engine » Rules Core
Status: Active » Closed (cannot reproduce)

Feel free to re-open if you are still having this issue.

ptmkenny’s picture

Issue summary: View changes

Updated issue summary.