How to Delete an Outgoing Mail Server in macOS Mail

Image Source / Getty Images

macOS Mail lets you set up several outgoing email servers. This flexibility can come in handy sometimes but it's useful to know how to delete SMTP server settings in the event that you don't need them anymore.

For example, maybe the server settings are no longer relevant to your email accounts, or maybe they're old and broken, or were mistyped.

No matter the reason why, you can remove SMTP settings in macOS Mail using these easy to follow steps.

How to Remove SMTP Server Settings in macOS Mail

  1. With Mail open, navigate to the Mail > Preferences... menu item.
  2. Go into the Accounts tab.
  3. From there, open the Server Settings tab.

    Note: If you're using an old version of Mail, you will not see this option. Just skip down to Step 4.
  4. Next to "Outgoing Mail Account:", click/tap the drop down menu and choose the Edit SMTP Server List... option.

    Note: Some versions of Mail might call this the "Outgoing Mail Server (SMTP):", and the option Edit Server List....
  5. Select an entry and choose the minus button toward the bottom of the screen, or pick an option called Remove Server if you see it.
  6. Depending on your version of Mail, hit the OK or Done button to return to the previous screen.
  7. You can now exit any open windows and return to Mail.

How to Delete SMTP Server Settings in Older Versions of Mac Mail

In versions of Mail prior to 1.3, things look a bit different.

While there seems to be no obvious way to remove an SMTP server like you can in newer versions, there is an XML file that stores these settings, which we're free to open and edit.

  1. Make sure Mail is closed down.
  2. Open Finder and access the Go menu and then the Go to Folder... menu option.
  3. Copy/paste ~/Library/Preferences/ in that text field.
  1. Search for and open it with TextEdit.
  2. Within that file, search for DeliveryAccounts. You can do this in TextEdit through the Edit > Find > Find... option.
  3. Delete any SMTP servers you want to remove.

    Note: The hostname is in the string following "Hostname." Make sure you delete the whole account, starting with the <dict> tag and ending with </dict>.
  4. Save the PLIST file before exiting TextEdit.
  5. Open Mail to confirm that the SMTP servers are gone.
Was this page helpful?