http://msdn.microsoft.com/webservices/default.aspx?pull=/library/en-us/dnwebsrv/html/soapmail.asp

Very good article + in-depth sample on how to achieve transport independence. Suggested.