Home!
Personal Accounts
Business Accounts

Web Hosting
bar
Support
Members
Search
Contact Info
bar
SYIXTalk
Clicklist
SYIXMail
SYIXWeather
TV Listings


TOOLS | LAYOUT | LINKING | UPLOADING | COUNTER | MAIL TO

MAIL FORM HANDLER

Another nice feature is an automatic mail generator, it allows your forms to be actually mailed someplace! Wow huh? No more "mailto:" when you really wish you had a form handler.

How to use the MAILTO web assistant

MAILTO 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.

<FORM ACTION="http://www.syix.com/mailto.cfm" METHOD="post">
<input type="hidden" NAME="sendto" VALUE="yourname@syix.com">
<Input type="hidden" Name="server" value="mail.syix.com">
<INPUT TYPE="hidden" NAME="subject" value="Your Subject">
<INPUT type="hidden" NAME="resulturl" value="http://www.syix.com/you/thanks.htm">
<PRE>
<B>Your details:</B>
Name: <INPUT NAME="name" 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.

When the user presses the SUBMIT button, the information is sent to the WWW server which calls http://www.syix.com/mailto.cfm.
MAILTO will read the details sent and format a message which looks something like:

From: A N Other <other@company.com>
To: <yourname@syix.com>
Subject: Your Subject
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 = Your Subject
name = A N Other
title = Network Administrator
company = Elephants Inc
email = other@company.com

The Fields

An important note for naming fields. Don't use any punctuation in a field name other than an underscore. Don't start field names with a number or an underscore. Field names using the combinations of '_date', '_integer', '_float' , '_required', '_range', '_time', and '_eurodate' can not be used.

This is a list of fields that the MAILTO will automatically use. All other fields will be decoded and placed into the mail message including SUBMIT and RESET buttons if you name these.

sendto ...  The address of the receipient of the email message. This field is mandatory.
cc  ... A comma seperated list of other receipients of the form contents. This is optional.
server Name of mail server to send the mail to. This must be a CNAME and if ommitted the localhost will be used.
subject .......The subject of the mail message (optional).
resulturl ......The full URL for the next page to display.
resulttxt ......Some text that is displayed in the Thank you message.
email.......... The email address of the person filling the form. The contents of this field will also be placed
into the From: clause of the mail message. When you receive this message, you will be able to type
"Reply" and reply to the person who filled the form. (What could be easier?) (optional).

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


SYIX.COM WEBSITE MAILTO