I am working on trying to send an html email. I have created the text file that contains the email and the .vbs file that will read in the text file and ultimately send out an email. Problem is I have the code that can read in the text file into a variable but now i am not sure of where to go from here. I know I need to somehow use the variable which now contains the email text and send my email to a lot of people. Below is the code I have in my .vbs file. Can anyone guide me into the next step.
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject"
Set f = fspenTextFile("c:\newsletter.txt", ForReading, False)
Do While f.AtEndOfStream <> True
strLine = f.ReadLine
Loop
f.Close
Set f = Nothing
Set fso = Nothing
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject"
Set f = fspenTextFile("c:\newsletter.txt", ForReading, False)
Do While f.AtEndOfStream <> True
strLine = f.ReadLine
Loop
f.Close
Set f = Nothing
Set fso = Nothing