There are so many reasons that disabling the outgoing mail sound in OS X might be a good idea for some. To disable the sound, write a key called MailSentSoundPath with the contents of a path to the new sound into the com.apple.mail defaults domain (in this case we’re just not gonna’ send it any real data so it doesn’t play a sound): defaults write com.apple.mail MailSentSoundPath /devnull The close Mail and open it again. Try sending yourself an email and the sound should be gone. To enable the sound again, just delete the MailSentSoundPath key: defaults delete com.apple.mail MailSentSoundPath
-
-
Disabling Attachment Preview In Apple Mail
I recently had a situation where an email had a bunch of corrupt attachments. Each time one of the attachments was clicked on before the Mail app could mark the message as read the Preview of the attachment crashed the application. Turns out this was because opening the email automatically was attempting to display the image preview. Turns out I just needed to disable preview in mail long enough to get the messages deleted. To do so write the DisableInlineAttachmentViewing key as true into com.apple.mail as follows: defaults write com.apple.mail DisableInlineAttachmentViewing -bool true To then disable this option, set the key to false: defaults write com.apple.mail DisableInlineAttachmentViewing -bool false