Microsoft BizTalk Server provides a predefined set of macros that can help you to automate common tasks, a basic example is create output file names on File send handler.
If you working with sending output as a file, you’ll find these macros are really useful and that you don’t have to coding any statement to get these values.
Here's a list of send macros that you can use:
Important note: all macros are case sensitive.
You can use a predefined set of macros to dynamically create the files in which the File send handler writes messages. Before creating a file on the file system, the File send handler replaces all the macros in the file name with their individual values. You can use several different macros in one file name.
You can form the Subject, To, From, and CC properties on an SMTP message header dynamically by using a predefined set of macros. Before sending a message, the SMTP send handler substitutes all the macros in headers with their values. You can use several different macros when forming one header.
The following table lists the macros you can use to build the To, CC, and Subject headers:
This article is also available in the following languages
Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.