Setting up an HTML & PHP web form
Things I learned setting up the contact form on this website
Author: Connie Myres | Published: 05/21/2013
1. Use the correct email address
Read the full article
At first I could not get the contact form to send its output to my email address. I learned that my "Gmail" email address would not work. I had to use the email account associated with my website’s domain “email@example.com"
Example from my process.php (Note: I am not sure what to do with "$replyto"):if (!($formerrors)): $to = "firstname.lastname@example.org"; $subject = "From $myname -- Contact form"; $message = "Contact name: $myname\r\n". "Contact email: $email \r\n". "Contact comment: $mycomments \r\n". $replyto = "";