Ask the Expert

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?

    Requires Free Membership to View

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 first published in September 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: