Jump to content

mason20034

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mason20034's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. ive got to go on holiday for a week now. thanks to everyone who has helped me. if anyone comes up with a solution please post and i will tell you if it has been sucessfull in a weeks time. cheers all, james
  2. no im using outlook and a ntlworld email address. im using it on a free web hosting account for testing puroposes the address is http://mailmev1.awardspace.com/mail.htm
  3. its showing the data has been submited to message. and ive checked my junk email box but there is noting there i cant understand it at all
  4. no nottings working tried several scripts on sevral web hosts. begining to think php is not for me. not using hotmail just used that address as i dint not want to give out my email address. i am using  ntlworld and outlook
  5. hi this is the first php i have written but i am having trouble getting it to work, server supports php, and it runs fine the email just isnt getting recived. any ideas. <?php if(isset($_POST['submit'])) { $to = "mason-@hotmail.com"; $subject = "Form"; $name_field = $_POST['name']; $email_field = $_POST['email']; $message = $_POST['message'];   $body = "From: $name_field\n E-Mail: $email_field\n Message:\n $message";   echo "Data has been submitted to $to!"; mail($to, $subject, $body); } else { echo "blarg!"; } ?>
×
×
  • 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.