Jump to content

cyclo3000

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

cyclo3000's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi I'm having trouble with my PHP coding. I had a developer develop my site (flash site) and I'm using Godaddy as my hosting provider and I'm using the Windows IIS7 (which according to Godaddy supports PHP). However the developer says his coding is correct and that the issue is coming from Godaddy. My site is www.jsilvers.com and I have in the PHP code for my contact page to send all messages to my AOL email account. However when I try to send a message I do not recieve any emails or spam emails. Can someone please take a look at the PHP code and let me know if there are any errors. (see below) Thanks Josh <? $name=$_POST['name']; $email=$_POST['email']; $phone=$_POST['phone']; $message=$_POST['message']; $ToEmail = "cyclo3000@aol.com"; $ToSubject = "Message from your site"; $EmailBody = "Name: $name\n Email: $email\n Phone: $phone\n Message: $message\n"; $Message = $EmailBody; $headers .= "Content-type: text; charset=iso-8859-1\r\n"; $headers .= "From:".$name." / ".$email."\r\n"; mail($ToEmail,$ToSubject,$Message, $headers); ?>
×
×
  • 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.