Problem solve Get help with specific problems with your technologies, process and projects.

What's the easiest way to switch e-mail forms from CGI to ASP?

My company currently has a few e-mail forms on our side which have always been in CGI. Now they want to switch...

to the ASP version and I need to write the specifications. Is there anything that I will need to know besides saying "replicate functionality" by reprogramming the forms in ASP?

Also, I noticed that there is an e-mail address specified in the URL of the e-mail forms now. When an email gets sent, does it go directly to the e-mail address listed? Does the same thing happen in ASP?
I can't think of anything you'd need to specify other than to simply replicate the CGI scripts' functionality. Creating the ASP script to do this mail forwarding is such a simple process that anyone could have done it in the time it has taken us to exchange these messages. In fact, it can all be done with Microsoft Frontpage and absolutely no knowledge of scripting or HTML.

Regarding whether the e-mail address appears in the URL--it doesn't need to.

The technical details: the ASP script will accept user input from an HTML form. This input will be packaged into an e-mail. E-mail is sent between servers using a simple protocol called SMTP (which stands for Simple Mail Transfer Protocol, ironically enough). I assume your Web server is using IIS--fortunately for you, all recent versions of IIS include a SMTP server software which can handle forwarding the e-mails to the destination. Like I said, you don't need to worry about any of this, because programs like FrontPage take care of all the technical details automatically.

Good luck.

This was last published in September 2001

Dig Deeper on Windows Operating System Management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.