I'm getting the following error message:

Warning: mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in D:\Hosting\7655198\html\femail.php on line 41

Which I think is indicating a bare LF from searching around. However, I have not found how to fix it.

$message = "Home Maintenance Tracker\r\n";
$message .= "Code: $rand\r\n";
$message .= "Click the following link and use the code provide above:\r\n";
$message .= "<a href=\"www.homemaintenancetracker.com/index.php?content=fpass&userid=$userid\">Change Password</a>\r\n";
$message = wordwrap($message, 70);

$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\r\n";
$headers .= "To: <".$email.">\r\n";
$headers .= "From: Home Maintenance Tracker <".$hmtemail.">\r\n";

$sentmail = mail($email, 'HMT - Change Password', $message, $header);

if($sentmail){
echo "Your Password Has Been Sent To Your Email Address.";
}
else {
echo "Cannot send password to your e-mail address. Email $hmtemail for help.";
}

FYI line 41, where the error is indicated, is the $sentmail... line. Thanks for any help!