GUY7 Posted December 17, 2009 Posted December 17, 2009 Hi everyone, I'm new here, great site! I have a Contact Us form in my html page that I want to send things that people write to my EMail. what should I write in the PHP page ? This is the form : <form id="contact_form" method="post" action="contact.php"> now I need to create the "contact.php" that will send an auto mail to my email, and then redirect to the page again. thanks all !!
Byron Posted December 17, 2009 Posted December 17, 2009 Here's one you can use: http://byrondallas.heliohost.org/temp/email_form.php http://byrondallas.heliohost.org/temp/email_form.txt
GUY7 Posted December 17, 2009 Author Posted December 17, 2009 Thanks for the fast response, but its not working, I've change everything in the form to synchronize with the PHP page, but it's only show white screen without text, and without any email sent. Maybe I need to configure something in the server ? Which server mail is it using anyway? tnx again!
Byron Posted December 17, 2009 Posted December 17, 2009 Just upload that text file I posted and give it a .php extension and then change the email address to yours inside the script. It should work fine then.
GUY7 Posted December 17, 2009 Author Posted December 17, 2009 Just upload that text file I posted and give it a .php extension and then change the email address to yours inside the script. It should work fine then. Great! Thank you...working fine
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now