Pear works. If you're on a shared server, the host has to install it (unless you have shell access).
You should really read up on http://pear.php.net the Mail::factory(), Mail::send() error catching. Then ask us what's wrong while giving us more detailed information.
Here's how I use errors:
$mail = &Mail::factory('smtp', $params);
if(PEAR::isError($mail)){
echo "<b><font style='font-size: 14px;'>Can't Connect to the Mail server!</font></b><br />";
echo $mail->getMessage();
}
else{
if(PEAR::isError($error = $mail->send($recips, $headers, $message))){
echo "<b><font style='font-size: 14px;'>Can't Send the email through the account!</font></b><br />";
echo $error->getMessage();
}
else{
// Mail sent successfully
}
}
~Brett