954,576 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How send email of the feedback form

Send email from a website to a specified email. I am using user@puruinvestech as an email (Google Email Apps is setup). Email contains fields like Name, Mobile, Email of the user in feedback form.

abhi10kumar
Junior Poster
126 posts since Feb 2011
Reputation Points: 15
Solved Threads: 1
 

Use the php mail() function.

smantscheff
Nearly a Posting Virtuoso
1,233 posts since Oct 2010
Reputation Points: 300
Solved Threads: 254
 
$to = "user@puruinvestech";
$subject = "Enter subject here";
$body = $_POST['name'] ." ".$_POST["mobile"];
if(mail($to, $subject, $body))
{
echo "mail send";
} else {
echo "error sending email";
}
dasatti
Junior Poster in Training
57 posts since Dec 2008
Reputation Points: 10
Solved Threads: 5
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: