I need to send an email notification one week after a deadline has passed. My content type has required fields for the deadline date and the email address. I created a rule that is triggered after the content is updated and managed to get the rule to execute but the schedule component can't find the contact email address and the mail is not sent.
The rule has the following information:
- Event triggered after updating the content type
- Action is Schedule component evaluation
The scheduled component evaluation has the following information:
- evaluates: node:field-deadline-for-responses-
- - with an offset of 7 days
- identifier with: send email notice one week after deadline for [node:nid]
The Action-set component has the following information
- Action Send mail
- - To [node:field-contact-email]
- - Subject, Message, etc
The error message I get is: Error sending e-mail (from "Test Website" to ).
I have tried Rule and Rules set components as well but haven't gotten any further.
Is there anyway to pass the node:field-contact-email field to the component so that the email can be sent?
Comments
Comment #1
cybertrail commentedI forgot a basic step. I added a variable with the data type of Node to provide the parameters and everything started working.