Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { "rules_fetched_node" : {
- "LABEL" : "Send Email Facility",
- "PLUGIN" : "rule",
- "OWNER" : "rules",
- "REQUIRES" : [ "rules" ],
- "USES VARIABLES" : {
- "facility" : { "label" : "node type", "type" : "node" },
- "facility_modal_contact_form" : { "label" : "entityform submission", "type" : "entityform" }
- },
- "IF" : [
- { "entity_has_field" : { "entity" : [ "facility" ], "field" : "field_facility_email_address" } }
- ],
- "DO" : [
- { "component_rules_entityform_notifications_email_send" : {
- "entityform" : [ "facility-modal-contact-form" ],
- "email_address" : "[facility:field-facility-email-address]",
- "show_submission" : "1",
- "email_subject" : "A user from AddictionRecovery.com contacted you",
- "email_body" : "some text"
- }
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement