<?php

// Example - showing how simple it is to send a correct MIME email
$files = array("test.php", "GenerateMIMEMail.inc.php");
$html = "<b>hello there</b>";
$plain = "plain emailer";

include "GenerateMIMEMail.inc.php";
list($header, $body) = GenerateMIMEMail($html, $plain, $files);

// Uncomment the following line and correct the email address to
// send an email
#$success = mail("youremail@example.com", "Test Subject", $body, $header);


// -- debugging info
print "<pre>";
var_dump($header, $body, $success);
?>