Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
FormMail is a Common Gateway Interface (CGI) script primarily written in the Perl programming language. It is an open-source Web server CGI script that can be used to capture and process form data and then mail the processed data to one or more set recipients. FormMail is available in many variants. The original FormMail script was written in Perl and created by Matt Wright. FormMail is generic and has many options for formatting and other operations. It is often used as a system-wide solution for giving users access to form data without any risk of free CGI access.
FormMail is a CGI script that is used to process form data submitted via the ACTION tag of the HTML form element. The script retrieves the form data and constructs an email with the form data as content, and then sends it to a list of recipients set by the user.
The script makes use of many hidden fields to control the operation of the script. These hidden fields determine the recipients of the email and also set the subject and other meta information related to the email.
The basic functionalities of FormMail include:
Some FormMail variants also provide the ability to add email attachments, spam prevention and many more features like CAPTCHA validation and saving the email to a database.