Disable attachment preview in Mail.app on Mac

During my workday I’m sending very often some screenshots or documents and Mail.app does preview for a lot of them by default. That isn’t bad, but lot of mail clients doesn’t recognize these docs as attachments.

The most easy way is to disable preview.

To make it possible (disable preview) please execute in terminal (command line):

defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes

If you want to revert your changes then please do this:

defaults write com.apple.mail DisableInlineAttachmentViewing -bool false

Mail.app restart might be needed after changes