MacOS – How to revert this defaults write command defaultsemailmacosmojavepreferences defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes It is related to this question: How can I disable inline attachment previews (i.e. view as icon by default) in Mac Mail in macOS Mojave? Best Answer When you’ve written a boolean value, you can choose to write the opposite value, replacing yes with no. Usually, to reset a preference, you delete the preference so the default takes effect, which you can do with defaults delete: defaults delete com.apple.mail DisableInlineAttachmentViewing Related SolutionsMacOS – How to hide users from Login and Fast User Switching under OS X 10.7 Lion This change didn't get implemented/respected/carried forward in Lion 10.7 initial release build. It's an open bug with no ETA on a fix or resolution. MacOS – Apple Mail shows plain text instead of HTML email I opened ~/Library/Preferences/com.apple.mail.plist in Xcode and searched for PreferPlainText. It seems to want either YES or NO as a value. I set it to NO and saved, then relaunched Mail.app. HTML (Rich Text) mail is back. Related QuestionMacOS – Button “Use as Defaults” are missing in View Options panel (Mountain Lion)MacOS – Missing “Use as Defaults” box in “Show View Options”MacOS – Can “defaults write” command line configure the menu bar on macOSMacOS – How to revert launchctl PATH to defaultsHow to disable inline attachment previews (i.e. view as icon by default) in Mac Mail in macOS MojaveAre email Attachments technically always inline, or does macOS Mail not allow conventional, non-inline attachments
Best Answer
When you’ve written a boolean value, you can choose to write the opposite value, replacing
yes
withno
. Usually, to reset a preference, you delete the preference so the default takes effect, which you can do withdefaults delete
: