05-29-2009, 12:42 PM
|
#3 (permalink)
|
|
The Contributor
Join Date: Sep 2008
Posts: 39
Thanks: 9
|
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...
|
|
|
|