thanks for the reply but figured it out... trail and error....
here is the code i wound up with if any one is interested...
<?php
//Fields required to send:
if ($Name && $Employee && $Serial && $Phone && $Replacement && $Shipping)
{
//Build message:
$body_begin = "<html>
<head><title>SecurID Replacement Order Form</title>
</head><body><table align=center bgcolor=\"#FFFFFF\" width=\"600\" border=\"0\">
<td><font size=\"+2\" color=\"Black\">";
$body_middle = "Name: " . $Name . "<p>";
$body_middle .= "Employee Number: " . $Employee . "<p>";
$body_middle .= "Serial Number of Card: " . $Serial . "<p>";
$body_middle .= "Phone Number: " . $Phone . "<p>";
$body_middle .= "Reason for Replacement: " . $Replacement . "<p>";
$body_middle .= "Shipping Address: " . $Shipping . "<p>";
$body_ending = "
</font>
</td>
</tr>
</table>
<div align=\"center\">
</body>
</html>";
//build email
$build_email = "";
$build_email .= $body_begin;
$build_email .= $body_middle;
$build_email .= $body_ending;
//headers and send function
/ To send HTML mail, you can set the Content-type header. /
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/ additional headers /
$headers .= "From: whoevere@whoevere.com \r\n";
$headers .= "Bcc: ";
$sendtoo = "whoevere@whoevere.com";
$subject = "SecurID Replacement Form";
// Check and see if the mail(); function has worked...
if (mail("", $subject, $build_email, $headers, $sendtoo))
{
// You can also include any other html code here to make your page look more appropriate
print "Thank you, your submission was successfully sent to !<p> Please make sure to inform the customer that it usally takes 3-5 buisness days for the New Card to arrive.";
}
else
{
print "The email has not been sent";
}
}
else
{
print "please fill in all required fields";
}
?>