Welcome to Micro.com Specialists, INC.  Affordable solutions for YOU.
Return to Micro.com's home page.
View our WebHosting plans starting at $9.95 / Month!
Instantly available customizable site design templates!  Build your site NOW!
Let us design a professional website for your home or business!
Nationwide Dialup Internet Access - $12.95 a month UNLIMITED use!
Broadband DSL Service
Turn your business into a profit generating eBusiness Today!  Increase Sales!
Register your own domain name for just $18.95 a year!  Hosting services available!
View Micro.com's selection of powerful, dedicated servers!
Use our online web based email to send and receive email from anywhere in the world!
Renew your Micro.com services online with your credit card on our Secure Server!
Access Micro.com's online support library to solve any problems you may run into.  We're here for you!
Browse some of our favorite links and sites.  Submit your own!


Guaranteed 99.5% uptime on webhosting plans.

1-866-377-5212 Toll Free - Call us today!
MailIt! How To
MailIt! is a module on www.micro.com that allows you to quickly and easily send email from HTML forms without a CGI script. Here's how:
  1. Create your "thank you" page. This is the page a visitor to your site will see after they click the "Submit" button.
  2. Create your HTML form. Add as many fields as you like, but make the form's METHOD equal to POST and make the form's ACTION reference your "thank you" page. An example of this might be:
    <FORM ACTION="thanks.html" METHOD=POST>
  3. Edit your "thank you" page once more. Anywhere inside the BODY block, you must insert a mailit block.

    • The mailit tags must surround the entire MailIt! code block.
    • There must be a mailheader tag specifying a recipient for the email. An example of this might be <mailheader to="someone@somewhere.com">.
    • There must be a mailheader tag specifying a subject for the email. An example of this might by <mailheader subject="Good news!">
    • There must be a mailmessage block inside the mailit block that specifies the text of the email message.
    • Lastly, information from the HTML form can be inserted using the mfield tag. An example of this might be <mfield name="real_name"/>
    • Notice the trailing / right before the > ! This is important!

An example of an HTML form that would use MailIt! might be as follows:

<FORM ACTION="thank.you.html" METHOD=POST>
Your real name: <INPUT TYPE=TEXT name="real_name">
<BR>Product number you wish to order: 
<INPUT TYPE=TEXT name="product">
<BR>Total amount: <INPUT TYPE=TEXT name="amount">
<P>
<INPUT TYPE=SUBMIT VALUE="Send this!">
</FORM>

An example of the MailIt! code from the "thank you" page might be as follows:

<mailit>
<mailheader to="joeblow@somewhere.com">
<mailheader subject="Your order, sir.">
<mailmessage>
The following order was submitted by <mfield name="real_name"/>.

The order was for: <mfield name="product"/>
The total amount is: <mfield name="amount"/>
</mailmessage>
</mailit>

Note that everything between the mailit tags is removed from the page displayed in the visitor's browser. You can however do something like the following to get the values from the mfield tags to display on the "thank you" page.

Your total order was for: <mfield name="product"/>
Your total amount is: <mfield name="amount"/>

<mailit>
<mailheader to="joeblow@somewhere.com">
<mailheader subject="Your order, sir.">
<mailmessage>
The following order was submitted by <mfield name="real_name"/>.

The order was for: <mfield name="product"/>
The total amount is: <mfield name="amount"/>
</mailmessage>
</mailit>

The first two lines would be shown to the webpage user with the correct information from the form in the place of the mfield tags that corresponded to those 'name' fields. The rest of the message would be sent to joeblow@somewhere.com and would not be seen by the webpage user.

Micro.com Specialists - Nationwide Dialup Internet Services starting at 19.95.  Webhosting plans featuring domain registration and eCommerce options.
We Proudly Accept

Fueled By
Fueled by Linux
Linux

 

Copyright © 2007 Micro.com Specialist, LLC
634 W. Walnut
Blue Springs, MO 64014
Voice: (866) 377-5212
sales@micro.com

Best viewed in 800 x 600 or higher resolution
Terms of Service


// -->