Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is it possible to turn off automatic preview of attachments when composing an e-mail?

NOTE: Yes I know that I can manually ctr+select the attachment and disable preview, but I want this done automatically

share|improve this question

3 Answers 3

up vote 6 down vote accepted

In Terminal, type:

defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes

If you want to turn it off again, use

defaults write com.apple.mail DisableInlineAttachmentViewing -bool no

You may need to restart Mail after running this to change the behavior.

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

    
I get a Command not found when running this from terminal on a fairly new MacBook air? –  HaydnWVN Feb 20 at 14:32
    
Don't remove this answer; it's the best way to solve this unintuitive behavior with Mail.app. This changes the default behavior of the "attach" button in the app to do real attachments instead of inline attachments. The Viewing portion of that is really misleading; it affects how attachments are sent. –  Jim Stewart Aug 5 at 19:51

To expand on @user43521's answer, there are two ways to solve this problem:

First solution:

If you drag-and-drop files—even images—into Mail.app's compose window, they'll be sent as real attachments (Content-Disposition: attachment).

Second solution:

If you open a terminal and enter this command, it will always make attachments real attachments:

defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes

You only need to do this once. To revert to normal behavior:

defaults write com.apple.mail DisableInlineAttachmentViewing -bool no

The Viewing portion of this is very confusing; this affects how your outgoing mail is sent. If you receive mail with inline attachments, they'll be displayed as expected. In fact, it's even more confusing than that, because regardless of this setting, both inline and attached images that you receive will be displayed inline.

share|improve this answer

There is an extension for Apple Mail called Attachment Tamer. It has all kinds of settings, but the most useful is the one that defaults attachments to the icon view.

http://lokiware.info/Attachment-Tamer

It is $15 but well worth it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.