diff --git a/modules/Inventory/views/SendEmail.php b/modules/Inventory/views/SendEmail.php
index d5eaae3f339daad5707043bbba8ed99fd41a1000..d5cfbd4a838529785cdc4f4068edfcf8b9728d2a 100644
--- a/modules/Inventory/views/SendEmail.php
+++ b/modules/Inventory/views/SendEmail.php
@@ -32,8 +32,10 @@ class Inventory_SendEmail_View extends Vtiger_ComposeEmail_View {
             'attachment' =>$fileName,
             'path' => implode('/',$fileComponents),
             'size' => filesize($pdfFileName),
-				'type' => 'pdf',
-				'nondeletable' => true
+			'type' => 'pdf',
+			'nondeletable' => true,
+			// The stored name is needed to send the file with the email.
+			'storedname' => $fileName
 		));
 
 		$this->populateTo($request);