How to export mail from outlook to pdf

There are a few ways to export emails from Outlook to PDF:

Method 1: Using Outlook's built-in feature

  1. Open Outlook and select the folder containing the emails you want to export.
  2. Press Ctrl+A to select all the emails in the folder.
  3. Right-click on one of the selected emails and choose "Export to a file" from the context menu.
  4. In the "Export to a file" dialog box, select "PDF" as the file type and choose a location to save the file.
  5. Click "Export" to export the emails to a PDF file.

Method 2: Using a third-party add-in

  1. Install a third-party add-in such as "PDF Converter" or "Export to PDF" from the Microsoft Store or a reputable software vendor.
  2. Open Outlook and select the folder containing the emails you want to export.
  3. Click on the add-in's icon in the Outlook ribbon to open the export options.
  4. Choose the PDF export options, such as layout, font, and formatting.
  5. Click "Export" to export the emails to a PDF file.

Method 3: Using a script or macro

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

  2. Create a new module by clicking "Insert" > "Module" in the Visual Basic Editor.

  3. Paste the following code into the module:

    Sub ExportEmailsToPDF()
     Dim olApp As New Outlook.Application
     Dim olNamespace As Outlook.Namespace
     Dim olFolder As MAPIFolder
     Dim olItems As Items
     Dim olItem As Object
     Dim pdfFile As String
    
     pdfFile = "C:\Path\To\Exported\Emails.pdf"
    
     Set olNamespace = olApp.GetNamespace("MAPI")
     Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox)
     Set olItems = olFolder.Items
    
     For Each olItem In olItems
         If olItem.Class = olMail Then
             olItem.SaveAs "PDF", pdfFile, True
         End If
     Next olItem
    
     Set olItem = Nothing
     Set olItems = Nothing
     Set olFolder = Nothing
     Set olNamespace = Nothing
     Set olApp = Nothing
    End Sub
  4. Replace "C:\Path\To\Exported\Emails.pdf" with the desired file path and name.

  5. Click "Run" to execute the script and export the emails to a PDF file.

Note: The script above exports all emails in the default inbox folder. You can modify the script to export emails from a specific folder or with specific criteria.