Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Email Message Content › Re: Email Message Content
Hi Ziggy,
You can have your actual message in the body of the email sent, if you have a way of promoting that message string within your XML file schema. Then, do the following:
1) In your physical Send Port (in Administration Console), specify “Do not attach parts” in the dropdown list box in the Attachments tab in SMTP Transport Properties window, when configuring your Send Port; and specify “PassThruTransmit” as send pipeline.
2) In your orchestration, when constructing the message to assign to your logical Send Port (that binds to the physical port mentioned above), have the following lines in your Message Assignment shape:
YourMailMessage = YourXMLSchema.Record.MessageDescription;
YourMailMessage(SMTP.EmailBodyText) = YourXMLSchema.Record.MessageDescription;
Where MessageDescription is a Distinguished field in your XML schema (as an example).
Hope this helps,
Daniel.