<s>
Formmail	B-Protocol
and	O
its	O
many	O
variants	O
,	O
is	O
a	O
free	O
open	O
source	O
web	B-Application
server	I-Application
CGI	B-Language
script	I-Language
that	O
captures	O
and	O
processes	O
form	B-General_Concept
contents	O
and	O
then	O
typically	O
e-mails	O
them	O
to	O
one	O
or	O
more	O
recipients	O
.	O
</s>
<s>
The	O
script	O
,	O
originally	O
created	O
in	O
Perl	B-Language
,	O
was	O
originally	O
written	O
in	O
early	O
1993	O
by	O
Reuven	O
M	O
.	O
Lerner	O
,	O
as	O
part	O
of	O
his	O
work	O
on	O
The	O
Tech	O
,	O
and	O
was	O
included	O
in	O
the	O
archive	O
of	O
CGI	O
programs	O
made	O
available	O
by	O
NCSA	B-Application
HTTPd	I-Application
.	O
</s>
<s>
In	O
its	O
original	O
form	B-General_Concept
,	O
it	O
was	O
called	O
"	O
form-mail.pl	O
 "	O
,	O
and	O
was	O
released	O
under	O
the	O
GNU	B-License
General	I-License
Public	I-License
License	I-License
.	O
</s>
<s>
The	O
program	O
was	O
subsequently	O
stripped	O
of	O
its	O
copyright	O
and	O
authorship	O
,	O
renamed	O
"	O
FormMail	B-Protocol
"	O
,	O
and	O
publicized	O
by	O
Matt	O
Wright	O
as	O
part	O
of	O
Matt	B-Language
's	I-Language
Script	I-Language
Archive	I-Language
.	O
</s>
<s>
The	O
script	O
operates	O
by	O
iteratively	O
reading	O
all	O
the	O
form	B-General_Concept
fields	O
from	O
the	O
submitted	O
form	B-General_Concept
via	O
the	O
form	B-General_Concept
ACTION	O
tag	O
.	O
</s>
<s>
Next	O
the	O
script	O
begins	O
to	O
build	O
an	O
e-mail	O
message	O
from	O
the	O
submitted	O
fields	O
,	O
typically	O
concatenating	O
the	O
name	O
and	O
value	O
of	O
each	O
submitted	O
form	B-General_Concept
field	O
in	O
the	O
body	O
of	O
the	O
email	O
message	O
.	O
</s>
<s>
Finally	O
the	O
script	O
e-mails	O
the	O
form	B-General_Concept
's	O
contents	O
to	O
the	O
recipient(s )	O
.	O
</s>
<s>
The	O
typical	O
FormMail	B-Protocol
script	O
has	O
this	O
common	O
functionality	O
:	O
</s>
<s>
More	O
advanced	O
variants	O
of	O
the	O
script	O
have	O
additional	O
features	O
such	O
as	O
:	O
provide	O
for	O
e-mail	O
attachments	O
,	O
prevent	O
form	B-General_Concept
spamming	O
,	O
save	O
the	O
e-mail	O
to	O
a	O
file	O
or	O
database	O
,	O
add	O
CAPTCHA	O
validation	O
and	O
more	O
.	O
</s>
<s>
Today	O
a	O
variant	O
of	O
the	O
script	O
exists	O
for	O
most	O
popular	O
web	O
scripting	B-Language
languages	I-Language
,	O
such	O
as	O
Perl	B-Language
,	O
ASP	B-General_Concept
(	O
ASP.NET	O
)	O
,	O
PHP	B-Application
,	O
ColdFusion	B-Language
,	O
and	O
Java	B-Language
.	O
</s>
