Downloads the specified URL and puts HTML into a string buffer.
[Visual Basic]
Public Shared Function GetWebPageHtml( _
ByVal Url As String _
) As String
String that contains HTML
This method is provided as a helpful utility for downloading a web page into a local string.
[C#]
public void Send()
{
string sHTML = SmtpServer.GetWebPageHtml("http://www.yahoo.com");
}
[VB]
Public Function Send() As Integer
Dim sHTML As String
sHTML = SmtpServer.GetWebPageHtml("http://www.yahoo.com")
End Function
SmtpServer Class | SmtpServer Members | SmtpDotNet Namespace