Date:  07/23/2004 12:55:48 PM Msg ID:  002144
From:  FoxWeb Support Thread:  002143
Subject:  Re: FWX to HTML
The property Response.OutputBuffer contains the information that would be sent to the browser.  Of course you can't access this information from within the same FWX file, but you can have a wrapper FWX file as follows:
 
<%
* You will first need to disable buffering
Response.Buffer = .F.
* Call the fwx file that creates the desired HTML output
Server.Execute SomeFile.fwx
* Read the output and email it out
MySendMail(Response.OutputBuffer)  && you will have to provide this function
* If you want you empty the buffer and send different output to the user
Response.Clear
Response.Write('The requested information was sent via email')
%>
 

FoxWeb Support Team
support@foxweb.com email

Sent by Ramon on 07/23/2004 11:10:44 AM:
can anyone help me how to save the processed .fwx to html file?
the idea is, i want to email that output .html to someone.