Jump to content

barbaric

Members
  • Posts

    2
  • Joined

  • Last visited

barbaric's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I'm using a gmail account for the receiving address. Will certain mail accounts not receive properly? This is the code i used to test the mail function: <?php $sendto = "myemail@gmail.com"; $subject = "Subject"; $from = "nobody@nowhere.edu"; $headers = 'From: '.$from."\r\n".'Reply-To: '.$from."\r\n"; $body = "This will work. I insist upon it. \r\n"; mail( $sendto, $subject, $body, $headers ); echo "it worked"; ?>
  2. I was trying to create a comment page for visitors to my site using php. For some reason I can't get the mail() function to send mail. I've added the headers recommended by php.net users, but it still won't work. What other details do I need?
×
×
  • Create New...