Jump to content

10uRrr

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

10uRrr's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi everybody; I have a question, I want to send an e-mail by php, the is working but not send I could not find my error if you, tell answer me pls.. mail.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>mail</title> </head> <form method="post" actionfiltered="sendmail.php"> <td>To:<input name="email" type="text" /></br></br></td> <!-- Sender: <input name="email" type="text" /></br></br> --> <td> Subject: </br> <textarea name="subject" cols="15" rows="2"> </textarea></br></td> <td> Message: </br>   <textarea name="message" rows="15" cols="40">   </textarea><br /></td>   <input type="submit" />   </form> </html> sendmail.php <html> <head> <title>senmail</title> </head> <?   $to = $_POST['email'];   // $sender = $_POST['sender'];   $subject = $_POST['subject'];   $message = $_POST['message'] ;     // $headers = "From: localhost\n";       //ini_set("SMTP", "localhost");   @mail( "$to" , "$subject" , "$message");         echo "finished!"; ?> </html> where is the error??
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.