willyfix Posted April 14, 2011 Share Posted April 14, 2011 I am trying to add my email to a contact form to where a customer would fill in a few boxes and hit send and i would receive. Where would i find the code to enter it? thanks, w Quote Link to comment https://forums.phpfreaks.com/topic/233699-adding-email-to-contact-form/ Share on other sites More sharing options...
denno020 Posted April 14, 2011 Share Posted April 14, 2011 Do you mean you want the results of a form to be sent to your email address? You should look into a script called FormToMail. It is very easy to configure, all you have to do is open the script, enter your email where it says, and then give the form an action which points to the location of the script. It's heavily commented so you can follow it with ease. Hope that helps. Denno Quote Link to comment https://forums.phpfreaks.com/topic/233699-adding-email-to-contact-form/#findComment-1201491 Share on other sites More sharing options...
cyberRobot Posted April 14, 2011 Share Posted April 14, 2011 You could also use the mail() function http://php.net/manual/en/function.mail.php Quote Link to comment https://forums.phpfreaks.com/topic/233699-adding-email-to-contact-form/#findComment-1201559 Share on other sites More sharing options...
willyfix Posted April 14, 2011 Author Share Posted April 14, 2011 Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/233699-adding-email-to-contact-form/#findComment-1201600 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.