Sauce2k
February 21st, 2003, 10:18 PM
On my site, I am implementing a form. I want the form to be sent as an email to my address. I used a PHP script, but idk if my webserver supports PHP or if my script is wrong because i never recieve the email which i test myself.
My site: http://www.geocities.com/sherwin_kamkar/
<?
// Configuration of recipient and subject.
$recipient = "Slickman1@msn.com";
$subject = "20/20 Designs Form";
$mailheaders = "From: <$yourname> \n";
$mailheaders .= "Reply-To: <$youremail>\n\n";
$msg = "This message was generated from your web site by: $yourname\n";
$msg .= "\n";
$msg .= "$yourmessage\n";
$msg .= "\n";
mail($recipient, $subject, $msg, $mailheaders);
P.S: Is there a way to convert this to HTML?
My site: http://www.geocities.com/sherwin_kamkar/
<?
// Configuration of recipient and subject.
$recipient = "Slickman1@msn.com";
$subject = "20/20 Designs Form";
$mailheaders = "From: <$yourname> \n";
$mailheaders .= "Reply-To: <$youremail>\n\n";
$msg = "This message was generated from your web site by: $yourname\n";
$msg .= "\n";
$msg .= "$yourmessage\n";
$msg .= "\n";
mail($recipient, $subject, $msg, $mailheaders);
P.S: Is there a way to convert this to HTML?