Wednesday, June 4, 2008

How to Bind SendEmail Activity Properties Dynamically from code

You can do this by binding properties at design time to To, Subject, CC, BCC, Body. If you don't know how to bind properties, look at the following screenshots

This is how your properties windows of SendEmail activity looks like

Click on the button against To property (or the property that you want to bind) and the following Bind window will come up, go to the second tab, either choose Create Field or Create Property option.


Now assign the value to the newly created property in your code.

No comments: