Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 884)
+++ trunk/CHANGELOG	(revision 885)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 ------------------------------------- 2.7.1 -------------------------------------
+13-Dec-2008 Christian Sommer
+!	changed mailer to not extract line break of alternative body text (thanks to freeSbee)
 28-Oct-2008 Christian Sommer
 !	updated output filter regex to exclude mail addresses contained in input fields
 27-Nov-2008 Thomas Hornik
Index: trunk/wb/framework/class.wb.php
===================================================================
--- trunk/wb/framework/class.wb.php	(revision 884)
+++ trunk/wb/framework/class.wb.php	(revision 885)
@@ -312,6 +312,7 @@
 		$fromaddress = preg_replace('/[\r\n]/', '', $fromaddress);
 		$toaddress = preg_replace('/[\r\n]/', '', $toaddress);
 		$subject = preg_replace('/[\r\n]/', '', $subject);
+		$message_alt = $message;
 		$message = preg_replace('/[\r\n]/', '<br \>', $message);
 		
 		// create PHPMailer object and define default settings
@@ -328,7 +329,7 @@
 		$myMail->AddAddress($toaddress);                            // TO:
 		$myMail->Subject = $subject;                                // SUBJECT
 		$myMail->Body = $message;                                   // CONTENT (HTML)
-		$myMail->AltBody = strip_tags($message);                    // CONTENT (TEXT)
+		$myMail->AltBody = strip_tags($message_alt);				// CONTENT (TEXT)
 		
 		// check if there are any send mail errors, otherwise say successful
 		if (!$myMail->Send()) {
