How to reuploed outlook mails on server

To reupload Outlook emails to the server, you can follow these steps:

Method 1: Using Outlook's built-in feature

  1. Open Outlook and go to the "File" menu.
  2. Click on "Account Settings" (in Outlook 2010 and 2013) or "Account Options" (in Outlook 2016 and later).
  3. Select your email account from the list of accounts.
  4. Click on the "More Settings" button.
  5. Go to the "Advanced" tab.
  6. Under "Delivery", select the option "Leave a copy of messages on the server".
  7. Click "OK" to save the changes.

Method 2: Using the Outlook Web App

  1. Log in to the Outlook Web App (OWA) using your email address and password.
  2. Click on the gear icon in the top right corner and select "View all Outlook settings".
  3. Go to the "Mail" section.
  4. Under "Sync email", select the option "Leave a copy of messages on the server".
  5. Click "Save" to save the changes.

Method 3: Using PowerShell

  1. Open PowerShell as an administrator.
  2. Run the following command to connect to your Exchange server:
    $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Authentication Basic -Credential (Get-Credential)
    Import-PSSession $session
  3. Run the following command to set the "Leave a copy of messages on the server" option:
    Set-Mailbox -Identity <your_email_address> -LeaveCopyOnServer $true

    Replace <your_email_address> with your actual email address.

Note: Before reuploading your emails, make sure you have enough storage space on your email server and that your email account is not over the storage limit.

Also, keep in mind that reuploading emails may take some time, depending on the number of emails you have and the speed of your internet connection.