简体   繁体   English

如何使用Windows Workflow Foundation发送邮件

[英]How to use Windows Workflow Foundation for send mails

I would like to implement Windows Workflow Foundation for my application so whats the best way to implement it. 我想为我的应用程序实现Windows Workflow Foundation,那么实现它的最佳方法是什么。

Ie - My rules is Get users from database based on location. 即-我的规则是根据位置从数据库中获取用户。 - Action is Send mail (need to define mail contents) -操作为发送邮件(需要定义邮件内容)

So please let me know, how can accomplish it using WWF. 因此,请让我知道,如何使用WWF完成它。

WF does not provide neither a "Send email" or a "Read from database" activities out of the box. WF既不提供开箱即用的“发送电子邮件”或“从数据库读取”活动。

You can use this sample from CodeProject and include it in your workflow. 您可以使用CodeProject中的此样本并将其包含在您的工作流程中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM