View Single Post
Old 05-29-2009, 12:42 PM   #3 (permalink)
code_junkie
The Contributor
 
Join Date: Sep 2008
Posts: 39
Thanks: 9
code_junkie is on a distinguished road
Default

Its just the basic mailto function.
Code:
$to = "email@address.com";
$from = "email@address.com";
$subject = "Message from site";
$message = "";
$headers  = "From: $from\r\n";
$headers .= "Content-type: text/html\r\n";

ini_set('sendmail_from', $from);
mail($to, $subject, $message, $headers);
__________________
Trying to learn all I can about PHP. Teach me what you know...
code_junkie is offline  
Reply With Quote