[英]Drupal 7: Webform: Send Emails Conditionally?
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' ? 例如:在我的Web表单上,我只想在当前用户='xyz'时才发送电子邮件?
I searched a lot but could not find a way to send email conditionally.. 我进行了很多搜索,但找不到有条件地发送电子邮件的方法。
Webform Rules is what you are looking for. Webform Rules是您要寻找的。
Other option is to do it programatically. 另一种选择是以编程方式进行。 Check the second answer here .
在这里检查第二个答案。
EDIT: 编辑:
Event: 事件:
Condition: 条件:
Action: 行动:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.