<? $message = "<b>This is a <i>test</i></b>"; $headers = "From: foo@bar.com\r\nContent-type: text/html\r\n"; mail("you@yourdomain.com", "Testing", $message, $headers); ?>