diff --git a/include/class.thread.php b/include/class.thread.php
index ba9332ae487d638107b7fdef31d824e5bbb16ef9..8f108d70503ef5fb4f65a667b02c5da964e4da2f 100644
--- a/include/class.thread.php
+++ b/include/class.thread.php
@@ -528,6 +528,9 @@ Class ThreadEntry {
             'reply_to' => $this,
         );
 
+        if (isset($mailinfo['attachments']))
+            $vars['attachments'] = $mailinfo['attachments'];
+
         $body = $mailinfo['message'];
 
         // Disambiguate if the user happens also to be a staff member of the