free flash templates
free flash templates menu free css & photoshop templates menu free flash animation


View Full Version : [SOLVED] Problem to send email

06-23-2009, 10:14 AM
when i try to send email ith ur template 7 it shows this......

\r\n"; $headers.='Content-type: text/html; charset=utf-8'; mail($your_email, $_POST['subject'], " Contact Message

Name : ".$_POST['name']."
Email : ".$_POST['email']."
Telephone : ".$_POST['telephone']."

Subject : ".$_POST['subject']."
Message :
" , $headers); header("Location: ./index.htm|?page=_contact_message.htm"); ?>

plz resolve this prob as soon as possible....and second thing is that i'm trying to run it on the localhost....

06-23-2009, 09:15 PM

You must upload your template to internet.

06-24-2009, 07:32 AM
if it not work on the localhost...

how can i make sure that it work on the internet...

plz solve my problem as soon as possible....

06-24-2009, 10:16 AM
Dylan is right. It doeasn't work because you don't have php installed on your computer. Just upload your website on your web host and it should work. Most hosting plans support php language.

06-24-2009, 12:00 PM
Thanks for suggestion...but i try it on php server(APACHE 2.2). But still it doesn't work...

If any server configuration is required, plz tell me some step so that it work....

06-24-2009, 12:07 PM
after installing php server(apache 2.2) now it shows the coding page.....


$your_email = "";

$headers= "From: ".$_POST['name']." <".$_POST['email'].">\r\n";
$headers.='Content-type: text/html; charset=utf-8';
mail($your_email, $_POST['subject'], "
<title>Contact Message</title>
Contact Message<br><br>
Name : ".$_POST['name']."<br>
Email : ".$_POST['email']."<br>
Telephone : ".$_POST['telephone']."<br><br>
Subject : ".$_POST['subject']."<br>
Message : <br>".$_POST['message']."<br>
</html>" , $headers);
header("Location: ./index.htm|?page=_contact_message.htm");

plz help me out...

06-24-2009, 01:46 PM
I think you have a problem in your installation of PHP. Furthermore you need mail server to send mails. Just upload your website on your web host and it should work.

06-24-2009, 08:44 PM
if any possible way to solve this problem in localhost then plz reply as soon as possible...

i try it on php server but still it doesn't work...if any configuration is required on php server and for mail server plz reply with full step.

plz help me out...

06-24-2009, 10:02 PM
Dear SSS

If you upload site to ULR 100% this working.
send URL so freenice template and other people help you.:)