its not expanding the question if you ask a totally different one
you could use xmlhttp to get the html from a diff file into a string but ur not sposed to use it on the same server (or at least virtural directory)
i doubt theres a way to flush out everythign in the response buffer into a string so you will probably have to use a string anyway, its not too hard just use your editor to find and replace "Response.Write" with "strOutput = strOutput &"
and put strOutput atthe start (dim if you need to, otherwise just start with strOutput = "") then use cdonts/cdosys to add the attachment with a contenttype and just use that string as the attachment.