Mail scripts

Hi, could someone point me to a good mail script, it seems that the way I am using mine is not working perfectly as I get alot of complaints from people not receiving their password by email.

By the way, this is the script I am using:

PHP Code:

 
$contactemail 
$newmail;
$from "email@address.com";
$subject "Hello";    
$message "Bla bla bla bla. \n\n";


$result=mail($contactemail,$subject,$message"From: 
$from\n" ."Reply-To: $from\n"."X-Priority: 1\n"."X-MSMail-Priority: 
High\n"
."X-Mailer: PHP/" phpversion()); 

 

 

 

 

Top