Index: branches/dev/html/admin/mail/sendmail.php
===================================================================
--- branches/dev/html/admin/mail/sendmail.php	(revision 13174)
+++ branches/dev/html/admin/mail/sendmail.php	(revision 13176)
@@ -100,9 +100,8 @@
 	 	    $parts = $decoder->getSendArray(); 
 	 	    //print_r($parts); 
-	 	    list($recipients, $header, $body) = $parts; 
+	 	    list($recipients, $headers, $body) = $parts; 
 	 	    
-	 	    $mailSend = new Mail();          
-	 	    $mailSend =& Mail::factory("SMTP", $mail_options);
-	 	    $mailSend->send($recipients, $header, $body); 
+	 	    $mail_object =& Mail::factory("smtp", $mail_options);
+	 	    $mail_object->send($recipients, $header, $body); 
 	 	    break;             
                  
