4 Tips for Avoiding Common Issues With Apple Mail Attachments
Whatsapp Pinterest
Advertisement

Apple Mail users can experience a variety of problems with attachments. Graphics and PDFs might show up in the body of a message. Files you send from a Mac may not show up correctly in Windows. Or even worse—your message may not reach the recipient due to its size.

This issue is complicated because people use different email clients and operating systems to exchange messages. Learning more about email attachments will help you avoid some of these problems.

We’ll show you how attachments work and important methods to work around issues.

What Is a MIME?

In its early days, email was only plain text. As time went on, people wanted to exchange multimedia files and more via email.

Thus, a new system was born called MIME (Multipurpose Internet Mail Extensions). It is a standard to expand the limited capabilities of email with many useful features. You can send multiple attachments in a single message, use international character sets other than ASCII code, utilize rich text in the message for various fonts and colors, and send audio, video, and image files.

How Does MIME Work?

The purpose of MIME is to label the contents of the message with a special header. It dictates and describes the segments contained in the message body. This header is then read by the email client to interpret and format the message.

MIME defines a number of header fields. These are MIME-Version, Content-Type, Content-Transfer-Encoding, Content-Disposition, and more. See Wikipedia’s page on MIME for more details.

The presence of the header MIME-Version indicates that the message is MIME-compliant. Content-Type indicates the type of media included in the message body, and Content-Disposition defines the attachment settings.

A Content-Type with image/gif tells the client that the attached image is a GIF and requires an image viewer to see it. Similarly, a Content-Type with multipart/mixed tells the client that the message is a mixture of plain-text and an attachment.

If you open the source of the message, you can examine these headers yourself. Open a message in the Apple Mail app and choose View > Message > Raw Source.

raw-source-of-the-message-in-apple-mail

When a user sends a message with an attachment, MIME encodes the various parts of the message into plain text. The encoding process happens quickly in the background. The recipient’s client reads the header, decodes the multiple parts of the message, and displays it to the user.

When Attachments Go Wrong

The role of an email client is simple for both incoming and outgoing messages. It has to encode and decode the messages correctly, create and interpret the HTML tags with proper reference for graphics, and set the correct content-disposition attributes for each attachment.

There is no perfect email app. Every one, including Apple Mail, can suffer from these problems:

Follow our tips below to avoid these attachment issues.

1. Use Mail Drop and Similar Cloud Services

In macOS 10.10 Yosemite or later, if an outgoing message’s total size is more than 20MB, the Mail Drop feature will automatically kick in. When enabled, it’ll upload the file to iCloud (with a limit of 5GB), remove all attachments from the message, and substitute them with links. The link is temporary, and will expire after 30 days.

icloud-using-mail-drop-for-uploading-files

By default, Mail Drop is turned on for iCloud. But if you want to allow this feature for non-iCloud email accounts as well, go to Mail > Preferences, click the Accounts tab, and select your non-iCloud email account from the left panel. Under Account Information, check the box for Send large attachments with Mail Drop.

enable-mail-drop-for-non-icloud-mail-accounts

If you don’t want to use Mail Drop, put your files in cloud storage of your choice, and share a link to that file directly with the recipient 3 Ways to Share Files With Others Who Don't Have Cloud Accounts 3 Ways to Share Files With Others Who Don't Have Cloud Accounts What's the simplest way to share files with others? Here are several ways that'll come in handy whether you or the recipient don't have cloud accounts. Read More . Your message will reach them faster and bypass the whole issue of attachment size restrictions.

2. Use Windows-Friendly Attachments

In macOS, some graphics files have an invisible component called a resource fork. This stores file information like type, icon, metadata, image thumbnails, and more. When you share these files via email or with Windows, you’ll see two separate files. One is the data file, and another is the resource fork preceded by a “__” naming convention.

On macOS, you won’t see this file, but other operating systems and email clients don’t know what to do with resource forks. Thus, they appear as extra unreadable files. To prevent this, choose Edit > Attachments > Always Send Windows-Friendly Attachments.

This option also appears as a checkbox at the bottom of the file selection dialog when you click the Attach button on the toolbar. If you frequently send files to people using Outlook Mail in Windows, ensure that you select this option to strip the resource fork from all outgoing graphics.

send-windows-friendly-attachment-through-apple-mail

3. Always Include File Extensions

macOS and Linux have built-in mechanisms to identify file types. They use MIME to define the content type, and UTIs to identify data within documents, apps, and clipboard data. If you have an image file without a file extension, you can double-click it to open in Preview. Other types of files open in their default apps too. Apps have to declare the type of documents they can open and write in their PLIST file.

In contrast, Windows ignore MIME types. It relies only on file extensions. If you remove the file extension, Windows won’t know what to do with that file The File Extension Guide: How to Fix and Batch Rename Your Files The File Extension Guide: How to Fix and Batch Rename Your Files Do you have broken files with missing or messed up file extensions? Adding the right extension could make those files readable again. We'll show you how to mass edit file extensions. Read More . For this reason, before you drag a file into a message, ensure that the file has an extension.

To make this easier to see, open Finder > Preferences, click the Advanced button, and select the Show All Filename Extensions check box. When you select this option, Finder will always display filename extensions on the desktop, in folders, and elsewhere. You can then double-check that all attachments have an extension to make life easier for Windows users.

show-all-filename-extensions-in-finder

4. Put Attachments at the End of the Message

When you drag and drop a file into an outgoing message, Mail places the icon or a full-size image at the spot where you dropped it. But this might cause an issue with the recipient’s client. Their email app may not support inline graphics, or the user might have turned off inline display.

If you want all attachments to appear at the bottom of an outgoing message, choose Edit > Attachments > Always Insert Attachments at End of Message. But this does not affect whether an attachment appears as an icon or a thumbnail.

always-insert-attachment-at-the-end-of-the-message

If you right-click on an attachment and choose View as Icon, you can make the full-size image show as an icon instead. But this does not affect how Mail sends the message—just how it displays to you.

To fix this, open Terminal and type the following command:

defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes

This will turn off inline images entirely, including images you might have in your email signature. But at least this will prevent any problems on the recipient’s end. To turn on inline images again, enter:

defaults write com.apple.mail DisableInlineAttachmentViewing -bool false

view-as-icon-in-the-message-window
This command is useful, but it’s inconvenient to turn on and off the inline graphics all the time. Alternatively, you can zip files before attaching them. This not only consolidates multiple files into one, but also guarantees that the attachment will appear as an icon in the recipient’s client.

Make Apple Mail Even Better

Solving the attachment issue is tricky. While every email app tries to ensure the best compatibility, you can never be sure what will happen when attachment goes from sender to a recipient. If you follow all these tips, you shouldn’t ever have to worry about it.

Don’t forget about your mobile inbox, either. We’ve shown how to block emails on your iPhone How to Block Emails on Your iPhone: 3 Methods to Know About How to Block Emails on Your iPhone: 3 Methods to Know About Need to know how to block emails on iPhone? We have you covered with methods for blocking email in Gmail, Outlook, and more. Read More to prevent annoying messages.

Finally, if you’re using Mac Mail 4 Mac Mail Productivity Tips All Professionals Must Know 4 Mac Mail Productivity Tips All Professionals Must Know If you use the Mac Mail app in a professional environment, check out these tips to work more productivity in Mail every day. Read More , try out our productivity tips.

Explore more about: Apple Mail, Desktop Email Client, Email Tips, .

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Tom
    February 1, 2019 at 6:08 pm

    Rahul, thank you for this article. I have been trying to find a workaround to have Apple Mail make unembedded attachments for my friends/clients who us Windows based email apps.
    I have seen the terminal command floating around the internet for years and have tried to use it. These previous attempts were unsuccessful.
    When I saw your terminal command suggestion, I hoped that either the code had changed or the Apple OS updates might allow it to work.
    Unfortunately, putting the command line into the terminal, exiting the terminal, quiting the terminal, and then restarting the Mail application made no difference when the email arrived at the recepients email.
    Can you suggest something that I might be doing wrong?
    Thank you.