When an error occurs on my website, I log it into my database. And if the error cannot be logged into MySQL, then I send an e-mail to the Admin (i.e. "me").

I thought everything was working fine, but during testing, I see that my e-mail is scrunched up on one line like this...

2012-11-23 10:27:57am Dear Admin, A website error has occurred, but could not be logged in the database. Please take immediate action!!

Here is how I build and send my e-mail in PHP...
PHP Code:
        $emailTo 'Debbie@mail.com';

        
$headers  "From: Admin <admin@MySite.com>\r\n";
        
$headers .= "MIME-Version: 1.0\r\n";
        
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";

        if (
mysqli_stmt_affected_rows($stmt1)!==1){
            
// Insert Failed.

            // ************************************
            // E-mail Admin about Insert Error.        *
            // ************************************

            // Build E-mail.
            
$subject_FailedInsert 'Re: Unloggable Website Error  (' $currTime ')';

            
$body_FailedInsert $currTime ."\n\n";
            
$body_FailedInsert .= "Dear Admin,\n\n";
            
$body_FailedInsert .= "A website error has occurred, but could not be logged in the database.\n\n";
            
$body_FailedInsert .= "Please take immediate action!!\n\n";

            
mail($emailTo$subject_FailedInsert$body_FailedInsert$headers);
        } 
What is going on here?

BTW, I don't need anything fancy as far as how the e-mail is formatted (i.e. HTML), but I would like it to have proper line breaks like this...
2012-11-23 9:27:57am

Dear Admin,

A website error has occurred, but could not be logged in the database.

Please take immediate action!!

Thanks,


Debbie