Difference between revisions of "Using Imaginet Formailer (HTML)"

From Imaginet FAQ
Jump to navigation Jump to search
Line 3: Line 3:
 
The first four lines of the form MUST look like this...
 
The first four lines of the form MUST look like this...
  
  <FORM NAME=test METHOD=post ACTION=http://www.imaginet.co.za/mailer.php>
+
  <FORM NAME="test" METHOD="post" ACTION="http://www.imaginet.co.za/mailer.php">
  <INPUT TYPE=hidden NAME=MailTo VALUE=yourname@yourdomain.co.za>
+
  <INPUT TYPE="hidden" NAME="MailTo" VALUE="yourname@yourdomain.co.za">
  <INPUT TYPE=hidden NAME=Subject VALUE='The subject of the email message'>
+
  <INPUT TYPE="hidden" NAME="Subject" VALUE="The subject of the email message">
  <INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.yourdomain.co.za/thankyoupage.htm>
+
  <INPUT TYPE="hidden" NAME="ReturnURL" VALUE="http://www.yourdomain.co.za/thankyoupage.htm">
  
 
I repeat, the above lines must be the first four lines of the form.
 
I repeat, the above lines must be the first four lines of the form.
Line 14: Line 14:
  
 
'''Line #1:'''
 
'''Line #1:'''
  <FORM NAME=FormName METHOD=post ACTION=http://www.imaginet.co.za/mailer.php>
+
  <FORM NAME="FormName" METHOD="post" ACTION="http://www.imaginet.co.za/mailer.php">
  
 
You can replace FormName, but there's really no need to.  It's best not to change  
 
You can replace FormName, but there's really no need to.  It's best not to change  
Line 20: Line 20:
  
 
'''Line #2:'''
 
'''Line #2:'''
  <INPUT TYPE=hidden NAME=MailTo VALUE=yourname@yourdomain.co.za>
+
  <INPUT TYPE="hidden" NAME="MailTo" VALUE="yourname@yourdomain.co.za">
  
 
Replace "yourname@yourdomain.co.za" with the email address that you want the results
 
Replace "yourname@yourdomain.co.za" with the email address that you want the results
Line 27: Line 27:
  
 
'''Line #3:'''
 
'''Line #3:'''
  <INPUT TYPE=hidden NAME=Subject VALUE='The subject of the email message'>
+
  <INPUT TYPE="hidden" NAME="Subject" VALUE="The subject of the email message">
  
 
Replace "The subject of the email message" with the subject of your email message.  
 
Replace "The subject of the email message" with the subject of your email message.  
Line 33: Line 33:
  
 
'''Line #4:'''
 
'''Line #4:'''
  <INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.yourdomain.co.za/thankyoupage.htm>
+
  <INPUT TYPE="hidden" NAME="ReturnURL" VALUE="http://www.yourdomain.co.za/thankyoupage.htm">
  
 
Replace "http://www.yourdomain.co.za/thankyoupage.htm" with the FULL URL (web address)
 
Replace "http://www.yourdomain.co.za/thankyoupage.htm" with the FULL URL (web address)
Line 41: Line 41:
 
Following these first four lines, you can add any form fields of any type, such as...
 
Following these first four lines, you can add any form fields of any type, such as...
  
  <INPUT TYPE=text NAME=SomeFieldName>
+
  <INPUT TYPE="text" NAME="SomeFieldName">
  <INPUT TYPE=text NAME=SomeOtherFieldName>
+
  <INPUT TYPE="text" NAME="SomeOtherFieldName">
  
  
Line 48: Line 48:
 
but it should be the last line of the form.
 
but it should be the last line of the form.
  
  <INPUT TYPE=submit NAME=SUBMIT VALUE=submit>
+
  <INPUT TYPE="submit" NAME="SUBMIT" VALUE="submit">
  
  
Line 56: Line 56:
  
 
'''PLEASE NOTE:'''
 
'''PLEASE NOTE:'''
Use of the Imaginet Form Mailer is at your own risk.  Imaginet neither warrants nor
+
Use of the Imaginet Form Mailer is at your own risk.  Imaginet provides the form mailer as is
guarantees its usefulness, functionality, or availability.  Imaginet will not be held  
+
and does not guarantees its usefulness, functionality, or availability.  Imaginet will not be held  
liable for any costs or losses of any kind that result from the free Imaginet Form  
+
liable for any costs or losses of any kind that result from the free Imaginet Form Mailer's use.
Mailer's use.
 
  
 
Imaginet provides this as a free service, and therefore does not provide support for the  
 
Imaginet provides this as a free service, and therefore does not provide support for the  
 
use of this function.  If you have problems with building the form, it is highly suggested  
 
use of this function.  If you have problems with building the form, it is highly suggested  
 
that you enlist the aid of a qualified web designer.
 
that you enlist the aid of a qualified web designer.

Revision as of 10:39, 21 May 2019

This tutorial expains how to make use of the Imaginet Form Mailer. Please note that you will need to build your own contact form as this is not something that we can assist you with.

The first four lines of the form MUST look like this...

<FORM NAME="test" METHOD="post" ACTION="http://www.imaginet.co.za/mailer.php">
<INPUT TYPE="hidden" NAME="MailTo" VALUE="yourname@yourdomain.co.za">
<INPUT TYPE="hidden" NAME="Subject" VALUE="The subject of the email message">
<INPUT TYPE="hidden" NAME="ReturnURL" VALUE="http://www.yourdomain.co.za/thankyoupage.htm">

I repeat, the above lines must be the first four lines of the form.

You must edit the first four lines to suit your website, and your email address. Here is a line by line description of what you should and shouldn't change.

Line #1:

<FORM NAME="FormName" METHOD="post" ACTION="http://www.imaginet.co.za/mailer.php">

You can replace FormName, but there's really no need to. It's best not to change anything on this line.

Line #2:

<INPUT TYPE="hidden" NAME="MailTo" VALUE="yourname@yourdomain.co.za">

Replace "yourname@yourdomain.co.za" with the email address that you want the results of the form mailed to. Do not change anything else on this line. Only one (1) 'MailTo' email address is allowed per form.

Line #3:

<INPUT TYPE="hidden" NAME="Subject" VALUE="The subject of the email message">

Replace "The subject of the email message" with the subject of your email message. Be sure that the subject line is enclosed in single-quotes ( ' ) as in the example.

Line #4:

<INPUT TYPE="hidden" NAME="ReturnURL" VALUE="http://www.yourdomain.co.za/thankyoupage.htm">

Replace "http://www.yourdomain.co.za/thankyoupage.htm" with the FULL URL (web address) of the web page you want to refer the person to after the form has been submitted. For example, a web page that thanks the visitor for filling out the form.

Following these first four lines, you can add any form fields of any type, such as...

<INPUT TYPE="text" NAME="SomeFieldName">
<INPUT TYPE="text" NAME="SomeOtherFieldName">


The LAST line of your form should be your submit button. It doesn't have to look exactly like this, but it should be the last line of the form.

<INPUT TYPE="submit" NAME="SUBMIT" VALUE="submit">


Once you have completed your form, be sure to test it thoroughly to ensure that it is working properly. Any errors will be displayed on the page when you submit the form.


PLEASE NOTE: Use of the Imaginet Form Mailer is at your own risk. Imaginet provides the form mailer as is and does not guarantees its usefulness, functionality, or availability. Imaginet will not be held liable for any costs or losses of any kind that result from the free Imaginet Form Mailer's use.

Imaginet provides this as a free service, and therefore does not provide support for the use of this function. If you have problems with building the form, it is highly suggested that you enlist the aid of a qualified web designer.