Mail not sending

i am facing problem in mail sending
mail is sending from one site but when i try with the same function mail is not sendin from other web,…using this fuction


        $headers = "MIME-Version: 1.0"."\\r\
";
	$headers .= "Content-type: text/html; charset=iso-8859-2"."\\r\
Content-Transfer-Encoding: 8bit\\r\
X-Priority: 1\\r\
X-MSMail-Priority: High\\r\
";
	$headers .= "From: $from\\r\
" . "Reply-To: $from\\r\
" . "X-Mailer: PHP/" . phpversion() . "\\r\
X-originating-IP: " . getenv('REMOTE_ADDR') . "\\r\
";								
								
				
				$vmail=mail($email,$subject,$txt,$headers);

did i required any extra thing for sending mail from different servers…
if yes please tell me in details

Hi,

If you are sure that the code works fine without any problem on another server then check it with your hosting provider, whether they have enabled the mail function on their server or not.

Probably a long shot. are you using fasthosts to host the site?

Does the e-mail address you are sending from actually exist? Some hosts check that the e-mail address exists before allowing the mail to send.

yes email adddress exits