- this code is in second(2) link
$to = "recipient@example.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("
Message successfully sent!
");
} else {
echo("
Message delivery failed...
");
}
?>
- you can find nice forms in link four(4)
- i think this is one of the greatest page on the web about programming, and it suggests best and most accurate and simple scripts for email, i think (check 5)
$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
cheers :)
2007-07-08 20:33:43
·
answer #1
·
answered by kolibrizas 3
·
0⤊
0⤋
You can use the mail command in php. Check out http://php.net/mail
2007-07-09 03:22:04
·
answer #2
·
answered by Abdussamad 2
·
0⤊
0⤋
A free service is provided by http://www.jotform.com
You may also copy and use the classic formmail.php script at
http://www.dtheatre.com/scripts/
2007-07-09 11:44:21
·
answer #3
·
answered by fjpoblam 7
·
0⤊
0⤋
I use this one an all my sites.
http://www.cgiwebtools.com/index.cgi?action=products&id=1
2007-07-10 18:39:10
·
answer #4
·
answered by cgi man 3
·
0⤊
0⤋