Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page

Apple Mail


These instructions show how to add an SMTP server to an existing Mail account, but you can also add these settings at the account creation stage.


Adding SMTP settings

adding-smtp-settings page anchor

Go to Mail -> Preferences (⌘,). On the account you want to edit, click the tab that says Server Settings, then click the Outgoing Mail Account dropdown and select Edit SMTP Server List....

Apple Mail Accounts tab showing Server Settings with Edit SMTP Server List option highlighted.

Next, click the + under the list of SMTP servers, and add a new one.

Apple Mail accounts window with plus button highlighted to add SMTP server.

Then enter the server details:

  • Description: SendGrid
  • User Name: apikey (use the string apikey not your actual API key)
  • Password: Set your password to the API key generated
  • Host Name: smtp.sendgrid.net
  • Uncheck Automatically manage connection settings if you want to specify Custom Ports, Encryption Type and Authentication
  • Port: Specify the port
  • Encryption: Check or uncheck Use TLS/SSL
  • Authentication: Password
Apple Mail account settings with SendGrid SMTP details including server name and port.

Now the SendGrid SMTP Server can be specified on the Accounts tab of the Preferences window in the Outgoing Mail Account dropdown. Once this is selected, mail sent out of Apple Mail going forward will use the SMTP server chosen until specified otherwise.

Dropdown menu showing SendGrid selected as the SMTP server in Apple Mail settings.

Attachment Compatibility

attachment-compatibility page anchor

Mail will sometimes attach images in a way that is incompatible with other email readers. However, this behavior can be changed so that Mail will send more traditional non-inline attachments.

  1. Open Terminal (found in Finder > Applications > Utilities).
  2. In Terminal, paste the following: defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes.
  3. Press return.
  4. Restart the Mail app.

If you wish to restore the normal behavior of Mail, repeat the steps above while using the following command: defaults write com.apple.mail DisableInlineAttachmentViewing -bool no.