That particular file is a prg file, so you can't use merge codes -- the whole file contains VFP commands. To send output from a prg file to the browser you must use the Response.Write function.
If you want you can simply rename the file to filename.fwx and enclose all VFP code in script tags (<% and %>).
FoxWeb Support Team support@foxweb.com email |
Sent by Ronald Olds on 01/23/2003 05:49:09 AM:
Ok, just looked at the sample foxweb.prg file that was included with the jmail.zip. I understand most of how to send an email using this, but in the body section, does it accept foxweb commands? can I use:
<%scan%>
<%=temptable.lastname%>
<%endscan%>
to put the last names of my table into the body of an email and send it?
Sent by FoxWeb Support on 01/22/2003 11:46:45 PM:
FoxWeb Support Team support@foxweb.com email |
Sent by Ronald Olds on 01/22/2003 04:35:10 PM:
I have created a site for a customer and it has a shopping cart and an order page. Once the customers complete their order and submit it, it displays a confirmation page with order number and items ordered which are collected together on the confirmation page. At the same time this page is displayed to the customer, I would like it to be emailed to the client so that he knows he has an order to process. Anyone know a simple way of doing this through foxweb? My web server is also handling my email server which is the mercury32 mail server. Any help would be greatly appreciated.
Thanks
Ron Olds