This software module in Perl enables users to create a web contact form. It can be easily integrated into web pages to facilitate communication with clients and customers.
The resulting contact form is sent via email using the From: header for the sender's address. Additionally, a bcc copy is made available by default, but can be avoided by using the nocopy argument. In the event of an invalid email address, the failure message is sent to the recipient address to indicate that there is no need for a response.
CGI::ContactForm has several arguments, with the compulsory options including recname and recmail. Optional arguments include smtp, styleurl, returnlinktext, returnlinkurl, subject, nocopy, bouncetosender, formtmplpath, resulttmplpath, maxsize, tempdir, and spamfilter. There are other additional arguments for non-English sites.
The module is highly customizable as demonstrated by the range of arguments available. The contact form's text strings can be changed, and the style sheet can be edited to suit individual needs. The HTML markup can also be modified by using the example templates included in the distribution.
Overall, CGI::ContactForm is an excellent module for generating contact forms for web pages with minimum effort required. The customization options make it highly desirable for any developer looking to create functional, personalized contact forms.
Version 1.50: N/A