<?php
//Mandatory Attributes
$to = "joe@steinbring.net";
$subject = "The subject of the email";
$body = "The body of the email";
//Optional Attribute
$headers = "From: jsteinbring@starkmedia.com\r\n";
$headers .= "Content-Type: text/plain; charset=utf-8\r\n";
$headers .= "Cc: jsteinbring@starkmedia.com";
//Send the email
//The last two parameters are optional
//The mail function returns a boolean (success/failure)
$success = mail($to, $subject, $body, $headers, '-fjoe@starkmedia.com');
?>