"Submit" form information

V

Vance

I would like to add a form to my website that will email
the required information. I have the form laid out with
all of the appropriate field, I just have no idea how to
make it work.

Can anyone help me with this?

Thanks
 
R

Rick Budde

By "making it work", I assume you mean having it send you
an email with the data you fill in.

If so, let me make a few points:

1. you must be trying this on a website published to a
server that has Front Page Extensions installed (it will
not work on your disk based web, ie your PC, unless you
have server software set up on it),

2. if you have the above scenario and are still having
problems, has your web service provider enabled your
account for email transport?
 
J

Jim Buyens

-----Original Message-----
I would like to add a form to my website that will email
the required information. I have the form laid out with
all of the appropriate field, I just have no idea how to
make it work.

If your host runs the FrontPage Server Extensions, just:

1. Right-click the Form.
2. Choose Form properties from the shortcut menu.
3. Select Send To, and then enter the address you want.
4. Click OK.

If you try this on your "live" site and nothing comes
through, ask you host to check the e-mail configuration in
the server extensions.

If your host doesn't provide the FrontPage Server
Extensions, they probably do provide a third-party form-to-
email component. Check their support pages for additional
information and sample code.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*========----------
|\=========------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/=========------------
*========----------
 
D

DrGadget

-----Original Message-----
I would like to add a form to my website that will email
the required information. I have the form laid out with
all of the appropriate field, I just have no idea how to
make it work.

Can anyone help me with this?

Thanks
.

you will have to create an asp file to get the form
results.
Once you have the data, you can email the results using
CDONTS
Here is a sample......

<%@ Language=VBScript %>
<%option explicit%>

<%
dim objMail
dim MyName
dim MyPhone
myname=request.form("myName")
myphone=request.form("myphone")


if len(myname)="" then myname="No-Name"
if len(myphone)="" then myphone="No-Name"
set objMail=Createobject("CDONTS.Newmail")
objMail.From="me&mymail.com"
objMail.To = (e-mail address removed)
objMail.Subject="Your Data"
objMail.Body="Thanks for registering with us. Your Name
is=" & MyName &" and Phone = " & myphone
objMail.Send
set objMail=nothing
%>


I find it hard to get this to send to anyone on my
network. Try sending samples to a yahoo account etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top