diff --git a/public/plugins_packages/core/Forum/models/ForumBulkMail.php b/public/plugins_packages/core/Forum/models/ForumBulkMail.php
index 7ad1a0b5e83f7595c976a025952635e57211f33f..5c049395af302701c1fabee4ce0798002f982962 100644
--- a/public/plugins_packages/core/Forum/models/ForumBulkMail.php
+++ b/public/plugins_packages/core/Forum/models/ForumBulkMail.php
@@ -32,13 +32,11 @@ class ForumBulkMail extends messaging
      * @param string $subject      subject for the message
      * @param string $message_id   the message_id in the database
      */
-    function sendingEmail($rec_user_id, $snd_user_id, $message, $subject, $message_id)
+    public function sendingEmail($rec_user_id, $snd_user_id, $message, $subject, $message_id)
     {
         $receiver = User::find($rec_user_id);
 
         if ($receiver && $receiver->email) {
-            $rec_fullname = 'Sie';
-
             setTempLanguage($receiver->id);
 
             if (empty($this->bulk_mail[md5($message)][getenv('LANG')])) {
@@ -81,10 +79,12 @@ class ForumBulkMail extends messaging
     /**
      * Sends the collected messages from sendingMail as e-mail.
      */
-    function bulkSend()
+    public function bulkSend()
     {
         // if nothing to do, return
-        if (empty($this->bulk_mail)) return;
+        if (empty($this->bulk_mail)) {
+            return;
+        }
 
         // send a mail, for each language one
         foreach ($this->bulk_mail as $lang_data) {
@@ -100,34 +100,27 @@ class ForumBulkMail extends messaging
                 ->setBodyText($data['text']);
 
                 if (mb_strlen($data['reply_to'])) {
-                    $mail->setSenderEmail($data['reply_to'])
-                         ->setSenderName($snd_fullname);
+                    $mail->setSenderEmail($data['reply_to']);
                 }
 
                 $user_cfg = UserConfig::get($user_id);
-                if ($user_cfg->getValue('MAIL_AS_HTML')) {
-                    $mail->setBodyHtml($mailhtml);
+                if ($user_cfg->MAIL_AS_HTML) {
+                    $mail->setBodyHtml($data['html']);
                 }
 
-                if($GLOBALS["ENABLE_EMAIL_ATTACHMENTS"]){
+                if ($GLOBALS["ENABLE_EMAIL_ATTACHMENTS"]){
                     $message = Message::find($data['message_id']);
 
                     $current_user = User::findCurrent();
 
-                    $message_folder = MessageFolder::findMessageTopFolder(
-                        $message->id,
-                        $current_user->id
-                    );
-
-                    $message_folder = $message_folder->getTypedFolder();
+                    $message_folder = MessageFolder::findTopFolder($message->id);
 
                     $attachments = FileManager::getFolderFilesRecursive(
                         $message_folder,
                         $current_user->id
                     );
 
-
-                    foreach($attachments as $attachment) {
+                    foreach ($attachments as $attachment) {
                         $mail->addStudipAttachment($attachment);
                     }
                 }