Jump to content

Form to email help


Kibit

Recommended Posts

heres a basic php email form you will need to edit it alot as you have way more fields then i use as far as i remember php limits how many fields it will email so you will need to build an array that holds more fields

i forgot the limit tho

 

 

<?php
 $name = $_REQUEST['name'] ;
 $email = $_REQUEST['email'] ;
 $message = $_REQUEST['message'] ;

 mail( "EMAIL ADDRESS TO SEND MAIL TO", "Feedback Form Results",
   $message, "From: $email" );
 header( "Location: "EXIT PAGE TO FOWARD USERS TO GOES HERE" );?>

Link to comment
https://forums.phpfreaks.com/topic/126593-form-to-email-help/#findComment-654611
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.