How to send a simple e-mail by using XMLHTTP and WebDAV in Visual Basic .NET (314187)
The information in this article applies to:
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Exchange 2000 Server
- Microsoft XML 4.0
- Microsoft XML 3.0
This article was previously published under Q314187 INTRODUCTIONThis article describes how to programmatically send a simple
e-mail message by using the XMLHTTP object and the Web Distributed Authoring and Versioning (WebDAV)
protocol in Microsoft Visual Basic .NET. The sample code in the "More
Information" section performs the following steps:
- Creates an XMLHTTP object.
- Calls the Open method of the XMLHTTP object to open the mail submission Uniform Resource Identifier
(URI) of the user.
- Builds up a request string, and then puts the mail headers
and the body message in the request string.
- Sends the request string to the Exchange server by using
the WebDAV PUT method.
REFERENCES For additional information about WebDAV, visit the
following Microsoft Developer Network (MSDN) Web site: For additional information about the Exchange Mail Submission URI,
visit the following MSDN Web site:
Modification Type: | Major | Last Reviewed: | 4/29/2004 |
---|
Keywords: | kbhowto KB314187 kbAudDeveloper |
---|
|