Seding from to email

S

shikha

Hi,

When I create html form and send it to email, it works...but when i create
the same form in asp, and hit submit, it doesn't send it to email. It just
takes me to the same form wiht all fields reset.

Not sure, what am I doing wrong...any help will be greatly appreciated!!!

Thanks,

Shikha
 
A

Andrew Murray

shikha said:
Hi,

When I create html form and send it to email, it works...but when i create
the same form in asp, and hit submit, it doesn't send it to email. It just
takes me to the same form wiht all fields reset.

Not sure, what am I doing wrong...any help will be greatly appreciated!!!

Thanks,

Shikha

Does your web server support ASP? Is it a Windows Server?

To use the FP server extensions, the form page must be *.htm or *.html,
not *.asp.

To use ASP you need to write your own VB script (ASP page)or find one on
the 'net) to make the form send the email, and your server must support ASP.

I assume you just renamed the file, and was expecting the form to still
send the email when you're using the FP extensions - it won't work.

Using the built-in features, (the database results wizard etc) Frontpage
allows you to send the form results to an Access Database (it generates
all the ASP code for you), but not to an email address.

Can you post back with the procedure you took - the exact procedure.

Are you using a third party ASP script?
 
S

shikha

Hi Andrew,

Thank you so much for your reply, truly appreciate it!!!!
I used the email feature available in the frontpage, along with some script
to autopopulate certain fields using Session variables, saved it as .asp and
the email didn't work.

Then renamed the same .asp file as .html and it was working fine, but then
script didn't work. Thank you for your explanation, now I know why!!!!

Yes, my server does support ASP, so if I want the file as ASP then i have to
CDONTS or something similar to that for email purposes, this way i will
fields autopopulated along with email working, and also send it to Database
(if needed)...right?

Once again Andrew thank you for your help...truly not sure what would i do
with out this site and great replies!!! :)

Shikha
 
A

Andrew Murray

Shikha,

Yes, you need to use whatever your host offers in way of a mailing
script (ASP) which uses the mail-sending features of the server (CDONTS,
or whatever).

Note that I'm not an expert on this stuff. I know enough to set up a
script to work, but not when it comes to writing such things.

The issue with session variables is beyond my knowledge as far as your
purpose of using them is concerned.

You may be able to use third-party scripts on your host (ask them...)
http://www.hotscripts.com has plenty of scripts across a range of
platforms - asp, asp .net, php, C#, perl and so on so you might find one
that suits your needs.

Google for other sites offering such scripts. Two examples are:

http://www.hotscripts.com
http://www.veign.com
 

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