MailForm is not properly configured or an HTML form contained invalid fields

If you are the administrator of this site, please read the configuration guidelines below. Otherwise, please contact the administrator, or try again later.

How to create an HTML form that complies with MailForm

The form can look something like this:

<form action="http://isapi.vol.net.mt/scripts/mailgate/mailform.dll" method=post>
<input type="hidden" name="Subject" value="Enquiry Form - Results">
<input type="hidden" name="SendTo" value="support@customer-domain.com">
<input type="hidden" name="ReturnTo" value="http://www.customer-domain.com">
...
</form>

The hidden fields are very self-explanatory; Subject is the subject that resulting e-mail will have in the header, SendTo is an e-mail address where the resulting e-mail will be sent, and ReturnTo is the URL (web page address) where visitor will be taken when the form is filled out, and e-mail successfully sent - it usually contains "Thank you" message, or is the home page of the site.

Configuring MailForm on the server side

In order for MailForm to perform correctly, the administrator needs to create a file MailForm.ini in a folder where "MailForm.dll" resides (usually, it's "\inetpub\scripts"). The file should have the following contents:

[Options]
SmtpServer=smtpserver.your.domain.com
DefaultSendTo=administrator@your.domain.com
DefaultReturnTo=http://www.your.domain.com

SmtpServer
Specifies the DNS name of SMTP server to which all resulting messages will be routed.
DefaultSendTo
Specifies the default return address for resulting messages, in case that the return address is not specified in the form.
DefaultReturnTo
Specifies the default return page, after the form completed sending the results. It usually contains the thank-you message. This setting is used only if the return page is not specified in the form.