Date:  01/23/2003 11:08:38 AM Msg ID:  001291
From:  FoxWeb Support Thread:  001283
Subject:  Re: Sending an e-mail
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 does not include its own SMTP or POP3 controls, but there are several controls available today, some of which are absolutely free. The page http://www.aspkicker.com/Components.asp?Type=E-Mail contains a list of some of these controls. The file http://www.foxweb.com/files/jmail.zip contains sample FoxWeb code, illustrating how you can send mail with the JMail control. The code can be easily modified to work with other controls.

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