Jump to content

How to Send Email via FORM in php ?


GUY7

Recommended Posts

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 !!

Link to comment
Share on other sites

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!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...