Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Handling

Status
Not open for further replies.

rexmesmer

Technical User
Jan 26, 2007
1
We have a small website hosted on a IIS server. Access outside of the Public_html folder is restricted and the host does not support php, our previous method for handling web forms. It's a straight html, css and javascript driven site.

We don't know a thing about IIS servers.

How can we implement form mail? Are there some straight forward modules that we can install and configure with minimum programming experience?

Thanks.


 
Sorry if I sound a little confused. I saw Chris's response and because I am not familiar with CDOSYS, it has spurred this question:
With IIS, yes he would activate ASP on the web-site and convert his .html pages to .asp. My background is mostly ASP and VBScript, but from studying active server pages, I know it also supports Javascript and Perl Script. So why would he have to convert to CDOSYS for Forms Based pages?
 
Rex,
From my understanding you would need to set up your IIS Server to do dynamic content - ASP. Lots of info on the web regarding how ASP pages work. Since you are using Microsoft IIS, ASP is what you get.

From my experience with ASP and VBScript, an email form is simple to set up. Your will have to enable SMTP service on the web-server (IIS) to actually send the mail from the form. You should be able to use your existing JavaScript to send the mail, maybe with just some simple modifications. Again, I would just Google it if you are not familiar with writing JavaScript.
 
Your will have to enable SMTP service on the web-server (IIS) to actually send the mail from the form. ...
... So why would he have to convert to CDOSYS for Forms Based pages?

You don't need to enable the SMTP service to be able to send email, in fact you are better leaving the SMTP server off if you do not need it for anything else.
CDOSYS is the Win2K+ dll that encapsulates SMTP functions and has the capabilities to direct the message to a remote SMTP server rather than the previous method (CDONTS) which did use the mail server on "localhost".
PHP has the native mail() function, ASP uses CDOSYS.


It is not for all form based pages just the points that need a mail sending operation. It is simple enough to write a page that takes all the input from a form page and produces and send the message via a function/sub.



Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top