How to remove mails from server in mac

To remove emails from a server on a Mac, you can use the following methods:

Method 1: Using the Mail app

  1. Open the Mail app on your Mac.
  2. Select the account you want to remove emails from by clicking on the account name in the top left corner of the window.
  3. Click on the "Mailboxes" menu and select "Edit Mailboxes".
  4. Select the mailbox you want to remove emails from and click the "Edit" button.
  5. In the "Edit Mailbox" window, click on the "Remove" button next to "Remove from Server".
  6. Confirm that you want to remove the emails from the server by clicking "OK".

Method 2: Using the Terminal

  1. Open the Terminal app on your Mac. You can find it in the Applications/Utilities folder or use Spotlight to search for it.
  2. Type the following command and press Enter: imap (or pop if you're using a POP3 account)
  3. Enter your email account username and password when prompted.
  4. Type the following command to remove emails from the server: expunge
  5. Press Enter to execute the command.

Method 3: Using a third-party email client

If you're using a third-party email client like Microsoft Outlook or Mozilla Thunderbird, you can remove emails from the server using the client's settings. Consult the client's documentation for instructions on how to do this.

Important notes: