|Aug 5, 2012, 06:51 AM||#1|
ML no sound for new mail
Just updated to ML and now when I receive a new mail there's no sound playing! I just get the badge and the banner but no sound.
In System Settings / Notifications the settings for mail are "Badges, Sounds, Banners".
Anybody else came across this problem? Any advice?
"I do not fear computers. I fear the lack of them." - Isaac Asimov
|Aug 5, 2012, 07:13 PM||#4|
|Aug 24, 2012, 11:17 PM||#5|
The solution is to set a rule in Mail Preference to run an Applscripts if there is new email. This Applescript will play a notification sound of your choice:
tell application "Mail" to if (count of (every message of inbox whose read status is false)) isgreater than 0 then do shell script "afplay '/Applications/Mail.app/Contents/Resources/New Mail.aiff'"
You can change the path /Application/Mail.app/Contents/Resources/New Mail.aiff to any folder that containt an aiff file. For example: /System/Library/Sounds/Glass.aiff (in this folder you can find all the alert sounds of Mac OS)
1. Open Applescript Editor in Applications folder
2. Paste the script in after choosing your notification sound path
3. Save in ~/Library/Application Scripts/com.apple.mail (can name it New Mail in my example)
4. Now you can choose the script in Mail Rules setting
For the Mail rules setting
Open Mail Preferences then Rules then Add Rule. The setting like photo
It works like a charm !!!
II. Repair Permissions
1. Quit Mail app
2. Go to Applications folder/Utilities/Disk Ultilities
3. Select Macintosh HD then Repair Dish Permissions
Wait for a couple of minutes, open Mail and try to send yourselft an email again (remember to off the rule to see effect). This method is need to be repeated overtime so I still prefer the Applescript method.
|Thread Tools||Search this Thread|
All times are GMT -5. The time now is 10:19 AM.