email script

if u did not configure the localhost to server then it will not work .
upload it at server then plz check . thanks
Code:
<?php 
if(!(isset($_SESSION['login'])))
{
header("location:login.php");
}

if((isset($_POST['fullName'])))
		{
		$fname=$_POST['fullName'];
		$country=$_POST['country'];
		$email=$_POST['email'];
		$subject=$_POST['subject'];
...