2 Tips to Quickly Remove Large Email Attachments in Your Outlook

It is always suggested to remove large email attachments from Outlook, which can keep your Outlook file in small size and prevent the file from corruption. This article, we will introduce you 2 quick means.

As we all know, Outlook file is susceptible to corruption. One of the main culprits is the oversized Outlook file. Therefore, in order to block your Outlook data from being damaged, you should always keep tabs on your file size and keep it in small size. One of the common methods is to delete the large attachments from Outlook emails. Here are 2 tips to delete the email attachments whose sizes are greater than a specific size.

Tip 1: Remove Large Email Attachments Manually

  1. For a start, right click on the “Search Folders” and choose “New Search Folder” in the Mail navigation pane.
  2. Then select “Create a custom Search Folder” > “Choose”. In the popup dialog box of “Custom Search Folder”, specify a name for the search folder and then hit “Criteria” button.Create a Custom Search Folder
  3. Next in the “Search Folder Criteria” dialog box, you ought to switch to “More Choices” tab. And then specify the following 2 criteria.
  • Firstly, tick “Only items with” option and set “one or more attachments”.
  • Secondly, select “greater than” in the “Size (kilobytes)” section. And then input a specific size in the following box.Specify the Search Criteria
  1. After that, click a series of “OK” to enable the search folder.
  2. Later you can access the search folder, which have contained the emails with the large attachments.
  3. Finally you can remove the email attachments manually.
  • Open an email or preview it in Reading Pane.
  • Then select all the email attachments and hit “Remove Attachment” button on “Attachments” tab.Remove Attachment
  • Lastly you will receive a message, like the following screenshot. Click on “Remove Attachment”.Confirm Remove Attachment
  • Repeat the above 3 steps to manually delete attachments from all emails in the search folder.

Tip 2: Remove Large Email Attachments with Outlook VBA

  1. At first, press “Alt + F11” buttons to get access to “Visual Basic” window.
  2. Then create a new module by choosing “Insert” > “Module”.
  3. Next copy and paste the following VBA codes into the new module.
Sub RemoveLargeAttachments()
    Dim olInbox As Folder
    Dim obj As Object
    Dim olItem As MailItem
    Dim Att As Attachment
    Dim Atts As Attachments
    Set olInbox = Session.GetDefaultFolder(olFolderInbox)
    'Remove large attachments from the emails in Inbox folder
    For Each obj In olInbox.Items
        If obj.Class = olMail Then
           Set olItem = obj
           Set Atts = olItem.Attachments
        End If
        For Each Att In Atts
            'Change the "500" to your desired size in bytes
            If Att.Size > 500 Then
            End If
End Sub

VBA Codes - Remove Large Email Attachments

Note: The VBA codes are aimed to removing large attachments from the emails in Inbox folder. If you would like to remove attachments from mails in Sent Items folder, you can make two changes:

  • Replace all “olInbox” with “olSentfolder”.
  • Change “Set olInbox = Session.GetDefaultFolder(olFolderInbox)” to “Set olSentfolder = Session.GetDefaultFolder(olFolderSentMail)
  1. After that, close the “Visual Basic” window and add the new macro to Quick Access Toolbar as usual.Add the Macro to the Quick Access Toolbar
  2. Eventually, you can back to the main Outlook window. Locate and click on the “macro” button in the Quick Access Toolbar. At once, the attachments which are larger than the specified size in bytes.

Keep Away from Malicious Macros

It is recommended that we should change Outlook macro settings to only permit digitally signed macros, since that there are a great amount of emails which may include malicious macro in the current era. Our Outlook data can get attacked by the email borne viruses readily. Therefore, not only should we keep alert of these potential threats, but also we ought to procure a damaged Outlook data recovery tool, like DataNumen Outlook Repair. It can come to our rescue in time.

Author Introduction:

Shirley Zhang is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including repair SQL mdf file problem and outlook repair software products. For more information visit www.datanumen.com

Comments are closed.