PDA

View Full Version : (ASP) Sending HTML email from file.


msimmons
08-26-2002, 05:20 PM
Not sure if this is possible but I would imagine it is. What I want to do is: I have some HTML files on my server and I want to be able to create an HTML email online with them. I use the CDO email object to send my emails and I know the body is "htmlbody" but I can't think of a way to get the html out of the files. I know there is an object that reads text files but from my best recolection it won't open a html file.
Any sugestions?
Thanks,
Michael

msimmons
08-26-2002, 08:33 PM
OK, I figured it out... I can use the objFileSystem.OpenTextFile to get a html file...
works now,
Michael

whammy
08-27-2002, 12:30 AM
That's exactly right!