How to import sent mail in outlook

Importing sent emails in Outlook can be a bit tricky, but I'll guide you through the process. Here are the steps:

Method 1: Importing Sent Items using the Outlook Import/Export Wizard

  1. Open Outlook and go to the "File" menu.
  2. Click on "Open & Export" and then select "Import/Export".
  3. In the "Import/Export" window, select "Export to a file" and click "Next".
  4. Choose "Outlook Data File (.pst)" as the file type and click "Next".
  5. Select the folder you want to export (e.g., "Sent Items") and click "Next".
  6. Choose a location to save the exported file and click "Finish".
  7. Outlook will export the sent items to a.pst file. You can then import this file into another Outlook profile or account.

Method 2: Importing Sent Items using the Outlook Import feature

  1. Open Outlook and go to the "File" menu.
  2. Click on "Open & Export" and then select "Import from another program or file".
  3. In the "Import" window, select "Outlook Data File (.pst)" as the file type and click "Next".
  4. Browse to the location where you saved the exported.pst file (from Method 1) and select it.
  5. Click "Next" and then "Finish" to import the sent items.

Method 3: Using the Outlook VBA Macro

  1. Open Outlook's Visual Basic Editor by pressing "Alt + F11" or by navigating to "Developer" > "Visual Basic" in the ribbon.

  2. In the Visual Basic Editor, click "Insert" > "Module" to insert a new module.

  3. Paste the following code into the module:

    Sub ImportSentItems()
     Dim olApp As New Outlook.Application
     Dim olNamespace As Outlook.Namespace
     Dim olFolder As MAPIFolder
     Dim olItems As Items
    
     Set olApp = New Outlook.Application
     Set olNamespace = olApp.GetNamespace("MAPI")
     Set olFolder = olNamespace.GetDefaultFolder(olFolderSentMail)
     Set olItems = olFolder.Items
    
     olItems.SaveAsText "C:\Path\To\SentItems.txt", olTXT
    End Sub
  4. Replace "C:\Path\To\SentItems.txt" with the desired location and file name for the exported sent items.

  5. Click "Run" to execute the macro, which will export the sent items to a.txt file.

Note: Before importing sent items, make sure you have the necessary permissions and access to the Outlook account or profile containing the sent items. Additionally, be cautious when importing large amounts of data, as it may affect Outlook's performance.