MAILTO executable

This CGI is available to netlink hosted websites. MAILTO cgi will allow you to create your own form and have the results formated and sent to one (or more) mail addresses. You can specify the name of the mail server, subject of the mail and (if you use the right fields), the mail will appear at your chosen account with the correct user name and email address (so that you can reply to it).

Example

<FORM ACTION="http://www.getinfo.net/Scripts/bmailto.exe" METHOD="post">
<input type="hidden" NAME="sendto" VALUE="youraddress@yourdomain.com">
<Input type="hidden" Name="server" value="yourmailserver">
<INPUT TYPE="hidden" NAME="subject" value="Testing my new form">
<INPUT type="hidden" NAME="resulturl" value="http://www.yourdomain.com/results.htm">
<PRE>
<B>Your details:</B>
Name:            <INPUT NAME="uname" SIZE=30>
Position:        <INPUT NAME="title" SIZE=30>
Company Name:    <INPUT NAME="company" SIZE=40>
E-Mail:          <INPUT NAME="email" SIZE=30>

Press <INPUT TYPE="submit" VALUE="Submit"> and your request will be processed or
<INPUT TYPE="reset" VALUE="Clear"> to start again.
We aim to respond within 24 hours.
WARNING: this will only work where the "sendto" email address is an @nls.net 
email address. If you require having it sent to a different address then you 
must call support and have that address configured in our security settings.
This is done to prevent spammers from using our systems to spam the world.

When the user presses the SUBMIT button, the information is sent to the WWW server which calls bmailto.exe. MAILTO will read the details sent and format a message which looks something like:

From: A N Other &ltother@company.com>
To: &ltyouraddress@nls.net>
Subject: Testing my new form
Date: Thu, 22 Jun 95 13:22:28 GMT+0000

The following form contents were entered on 22nd Jun 95
Date = 22 Jun 95 13:22:26
subject = Testing my new form
uname = A N Other
title = Network Administrator
company = Elephants Inc
email = other@company.com

 

The Fields

This is a list of fields that the MAILTO will automatically use. All other fields will be decoded and placed into the mail message.

If neither resulturl nor resulttxt are displayed, you will see the default "Thankyou" message.