FormMail

FormMail

Formmail and its many variants, is a free open source web server CGI script that captures and processes form contents and then typically e-mails them to one or more recipients.

The script, originally created in Perl, is credited to Matt Wright of Matt's Script Archive, and is available today in many web programming languages.

Operation

The script operates by iteratively reading all the form fields from the submitted form via the form ACTION tag. Next the script begins to build an e-mail message from the submitted fields, typically concatenating the name and value of each submitted form field in the body of the email message.

The script uses several specially-named hidden fields to control the operation of the script. The various hidden fields control who the recipient of the e-mail is, what the email subject is set to, etc. Finally the script e-mails the form's contents to the recipient(s).

The typical FormMail script has this common functionality:
* Reads all form fields and creates an e-mail message from them
* Recipient fields (typically hidden) allow creator to determine e-mail recipient
* Subject field, allows the creator to set the Subject of the e-mail in a hidden form field
* Required fields, allows you to set which fields need to be completed to send the e-mail
* CC, BCC fields, allow you to copy and forward to multiple recipients

More advanced variants of the script have additional features such as: provide for e-mail attachments, prevent form spamming, save the e-mail to a file or database, add CAPTCHA validation and more.

Today a variant of the script exists for most popular web scripting languages, such as Perl, ASP (ASP.NET) , PHP, ColdFusion, and Java.

ee also

*History of the World Wide Web
*Sendmail


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Matt's Script Archive — is a collection of CGI scripts written in Perl. Started in 1995 by Matt Wright (at the time a high school student in Fort Collins, Colorado), the archive contains about a dozen free scripts, designed to be easily added to a site and… …   Wikipedia

  • E-mail spam — E mail spam, also known as bulk e mail or junk e mail, is a subset of spam that involves nearly identical messages sent to numerous recipients by e mail. A common synonym for spam is unsolicited bulk e mail (UBE). Definitions of spam usually… …   Wikipedia

  • Form (web) — A webform on a web page allows a user to enter data that is, typically, sent to a server for processing and to mimic the usage of paper forms.Forms can be used to submit data to save on a server (e.g., ordering a product) or can be used to… …   Wikipedia

  • VCard — Infobox file format name = vCard icon = extension = .vcf, .vcard mime = text/x vcard text/directory;profile=vCard text/directory type code = vCrd uniform type = public.vcard owner = Internet Mail Consortium genre = electronic business card… …   Wikipedia

  • Distributed Sender Blackhole List — The Distributed Sender Blackhole List is a DNSBL that lists IP addresses of insecure e mail hosts. DSBL can be used by server administrators to tag or block e mail messages that come from insecure servers, which is often spam. The DSBL publishes… …   Wikipedia

  • Comparison of DNS blacklists — The following table lists technical information for a number of DNS blacklists. Blacklist operator DNS blacklist Informational URL Zone Listing goal Nomination Listing lifetime Notes ARM Research Labs, LLC GBUdb Truncate [1] truncate.gbudb.net… …   Wikipedia

  • Werburg — p3 Haus Werburg Torhaus von Haus Werburg Entstehungszeit: um 14 …   Deutsch Wikipedia

  • VCard — Saltar a navegación, búsqueda vCard es un formato estándar para el intercambio de información personal, específicamente tarjetas personales electrónicas (electronic business cards). Las vCards son usualmente adjuntadas a mensajes de e mail, pero… …   Wikipedia Español

  • vCard — es un formato estándar para el intercambio de información personal, específicamente tarjetas personales electrónicas (electronic business cards). Las vCards son usualmente adjuntadas a mensajes de e mail, pero pueden ser intercambiadas en muchas… …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”