Formular Mailer
Um einfach ein Formular auf Ihrer Homepage einzurichten, haben wir für Sie das nms FormMail Programm der London Perl Mongers installiert. Sie können es mit:
<form method="POST" action="http://scripts.interway.ch/cgi-bin/FormMail.pl">
einbinden. Wenn Sie dieses Formular Script zum ersten mal unter ihrer Domain benutzen, so teilen Sie die uns bitte mit, damit wir ihre Domain hierfür freischalten können. Bitte schreiben Sie hierzu ein Mail an info@iway.ch
und melden uns die Webseite auf der das Formular ist und die Email-Adresse an die das Mail gesendet werden soll.
Nachfolgend eine Liste der Felder, welche mitgegeben werden können (Englisch):
recipient
<input type="hidden" name="recipient" value="you@your.domain,me@your.domain" />If you leave the 'recipient' field out of the form, formmail will send to the first address listed in the @allow_mail_to configuration variable (see above). This allows you to avoid putting your email address in the form, which might be desirable if you're concerned about address harvesters collecting it and sending you SPAM. This feature is disabled if the emulate_matts_code configuration variable is set to 1.
subject
<input type="hidden" name="subject" value="From the feedback form" />redirect
<input type="hidden" name="redirect" value="http://www.your.domain/foo.html" />If you don't specify a redirect URL then instead of redirecting formmail will generate a success page telling the user that their submission was successful.
bgcolor
background
text_color
link_color
vlink_color
alink_color
title
return_link_url
<input type="hidden" name="return_link_url" value="/home.html" />return_link_title
<input type="hidden" name="return_link_title" value="Back to my home page" />sort
<input type="hidden" name="sort" value="order:name,email,age,comments" />If "order:" is used you must supply the names of all of the fields that you want to be in the body of the mail message.
print_config
<input type="hidden" name="print_config" value="title,sort" />... will include whatever values you set for 'title' and 'sort' (if any) in the email.
required
<input type="hidden" name="required" value="name,comments" />missing_fields_redirect - If this is set, it must be a URL, and the user will be redirected there if any of the fields listed in 'required' are left blank. Use this if you want finer control over the the error that the user see's if they miss out a field.
env_report
print_blank_fields
As well as all these hidden inputs, there are a couple of non-hidden inputs which get special treatment:
realname
