' Open a file using StreamReader.ReadtoEnd
' (many other Streamreader methods available)
Dim FILENAME As String = Server.MapPath("CC emails.txt")
Dim objStreamReader As StreamReader
objStreamReader = File.OpenText(FILENAME)
Dim newEmail As String = objStreamReader.ReadToEnd()
objStreamReader.Close()
No comments:
Post a Comment