Reputation: 1462
Is there any way to put a condition for sending emails?
For example: on my webform, I want to send email out only when current user = 'xyz' ?
I searched a lot but could not find a way to send email conditionally..
Upvotes: 2
Views: 6299
Reputation: 1456
Webform Rules is what you are looking for.
Other option is to do it programatically. Check the second answer here.
EDIT:
Event:
Condition:
Action:
Upvotes: 3