One of my ASPs produces a detailed tabular report from one of my databases. I want to provide automated emailing of the report to the user. Typically when I do this, I have a separate email function that writes the data to a message body string and sends the email via CDONTS.
I recently saw a site that sends an HTML page as an email attachment. I guess I could write an HTML file using the file system object but, even better, maybe there is some method to capture the HTML page that the server created when it wrote the online report page. Then I could just attach that and send it to the client via CDONTS, instead of having to write the HTML to file via the FSO and attach to email.
Is this the only way to do it? Or is there a way to capture the dead HTML page after the server has generated it?
Maybe I'm missing something simple but I would appreciate it if anyone has any ideas.
Thanks;
Nelson
I recently saw a site that sends an HTML page as an email attachment. I guess I could write an HTML file using the file system object but, even better, maybe there is some method to capture the HTML page that the server created when it wrote the online report page. Then I could just attach that and send it to the client via CDONTS, instead of having to write the HTML to file via the FSO and attach to email.
Is this the only way to do it? Or is there a way to capture the dead HTML page after the server has generated it?
Maybe I'm missing something simple but I would appreciate it if anyone has any ideas.
Thanks;
Nelson