How to delete unseen outlook mails

To delete unseen Outlook emails, you can follow these steps:

Method 1: Using the "Mark as Read" feature

  1. Open Outlook and navigate to the folder containing the unseen emails (e.g., Inbox, Junk Email, etc.).
  2. Select the first unseen email by clicking on it.
  3. Press the "Ctrl+A" keys to select all unseen emails.
  4. Right-click on the selected emails and choose "Mark as Read" from the context menu.
  5. Confirm that you want to mark all selected emails as read by clicking "OK" in the prompt.

Method 2: Using the "Quick Steps" feature

  1. Open Outlook and navigate to the folder containing the unseen emails.
  2. Click on the "Home" tab in the ribbon.
  3. Click on the "Quick Steps" button in the "Move" group.
  4. Click on "New Quick Step" and select "Mark as Read" from the list of available actions.
  5. Click "OK" to create the new Quick Step.
  6. Select the unseen emails by pressing "Ctrl+A" or by using the "Select All" button in the "Home" tab.
  7. Right-click on the selected emails and choose the "Mark as Read" Quick Step you just created.

Method 3: Using a VBA script

  1. Open Outlook and navigate to the folder containing the unseen emails.

  2. Press "Alt+F11" to open the Visual Basic Editor.

  3. In the Editor, click "Insert" > "Module" to insert a new module.

  4. Paste the following code into the module:

    Sub DeleteUnseenEmails()
     Dim olFolder As MAPIFolder
     Dim olItems As Items
     Dim olItem As Object
    
     Set olFolder = Application.ActiveExplorer.CurrentFolder
     Set olItems = olFolder.Items
    
     For Each olItem In olItems
         If olItem.Unread Then
             olItem.Delete
         End If
     Next olItem
    End Sub
  5. Click "Run" > "Run Sub/User Form" to execute the script.

  6. Confirm that you want to delete the unseen emails by clicking "OK" in the prompt.

Note: Before using the VBA script, make sure to backup your Outlook data and test the script in a non-production environment to ensure it works as expected.

Remember to always be cautious when deleting emails, as this action is permanent and cannot be undone.