Which good PHP Email Form I can use?

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
User avatar
Joan Garnet
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars

Fri Dec 27, 2002 9:11 pm

Just make a form in HTML

Code: Select all

<form method="POST" action="email.php">
Your Name: <input type="text" name="visitor" size="35">
Your Email: <input type="text" name="visitormail" size="35">
Mail Message:
<textarea name="notes" rows="4" cols="40"></textarea>
<input type="submit" VALUE="Send email">

and send data to email.php, where you will have this code:

Code: Select all

mail($HTTP_POST_VARS["myemail"], $HTTP_POST_VARS["subject"], $HTTP_POST_VARS["message"], $HTTP_POST_VARS["from"]);

That's it

Post Reply