Send Mail

syntax: 


  mail ($to, $subject, $body);


  $to - this is the e-mail address

  $subject - this is the subject of the e-mail to be send out

  $body - this the main body of your e-mail


  Sending email via HTML format would require you to insert or set the Header control values.

  ex.:


  $headers  = 'MIME-Version: 1.0' .

                  "\r\n";

  $headers .= 'Content-type: text/html; charset=iso-8859-1' .

                   "\r\n";

   .....

   ....