Sending an Email

How to send an email from a BizTalk Expression shape (without using the SMTP Send Ports).
Note: There are two mail objects, the older one is System.Web.Mail and the newer one is System.Net.Mail. The code below is for the newer one. It also shows how to connect to an SMTP Host (Server) that requires userid/password authentication.

XML Serializer/Deserializer C# .Net Example

XML Serializer – Sample Code – How to take a C# object and write it to a file in XML “serialized” format.