Why does this not send??

PHP Code:
// Enter info into the Database. 
$info2 htmlspecialchars($info); 
$sql mysql_query("INSERT INTO users (first_name, last_name, email_address, 
        username, password, info, signup_date) 
    VALUES('
$first_name', '$last_name', '$email_address', 
        '
$username', '$db_password', '$info2', now())") or die (mysql_error()); 

if(!
$sql){ 
    echo 
'There has been an error creating your account. Please contact the webmaster.'
} else { 
    
$userid mysql_insert_id(); 
    
// Let's mail the user! 
    
$subject "Your Membership at MyWebsite!"
    
$message "Dear $first_name $last_name
    Thank you for registering at our website, [url]http://www.mydomain.com[/url]! 
     
    You are two steps away from logging in and accessing our exclusive members area. 
     
    To activate your membership, please click here: 
    [url]http://www.mydomain.com/activate.php?id=[/url]
$userid&code=$db_password 
     
    Once you activate your memebership, you will be able to login with the following 
    information: 
    Username: 
$username 
    Password: 
$random_password 
     
    Thanks! 
    The Webmaster 
     
    This is an automated response, please do not reply!"

     
    
mail($email_address$subject$message
        
"From: MyDomain Webmaster<[email protected]>\n 
        X-Mailer: PHP/" 
phpversion()); 
    echo 
'Your membership information has been mailed to your email address! 
     Please check it and follow the directions!'



?>