New Mail Sound

Hi,
I've noticed that Mail 3.0 will not play a (custom) new mail sound for just my Gmail (POP)
account.
I use two; Gmail and .Mac (IMAP)

New Mail into .Mac plays my custom mail sound/notification file.
new Mail into Gmail yeilds nothing but silence. Yet it does play
the default 'beep' when clicking the "play other mail sounds"

Mail is my Hub, and is really handy for accessing my gmail
which i used for my forum accounts, flickr & deviant accounts
as well as personal. - So there are quite a few mails coming through
& as Im often away from my Mac my custom sound (Nine-Inch-Nails snippet)
was a great notifier (when it worked in Tiger heh) for new mail.

But under the new mail the file just wont play well.. at least not for Gmail.
.Mac is my secondary mail account and i only use it for a couple
of things - typical

iMac G5 2.1Ghz, Mac OS X (10.5), 2.5GB DDR2 Ram

Posted on Oct 30, 2007 1:43 PM

Reply
13 replies

Jan 11, 2008 9:00 AM in response to davidusmusicus

Hola chicos, (OK guys)

Here’s a solution to the (simple) Mail Notification Sound problem that most people are furious over. Whether it’s plays a sound occasionally or not at all, clearly there is a bug in Mail which prevents it playing sounds alerting you to any incoming mail.

There is even a rule you can apply in Mail>Preferences>Rules called Play Sound which SHOULD play a AIFF file of your choice on receipt of Every Message. But I’ve found this not to work too!

So, here’s a workaround in 2 easy steps:
(You need an AIFF sound file. Got it? Good)

_*STEP 1 - Modify & Save this tiny Applescript:*_

Imagine I have the following AIFF on my HD.
/Users/mrlinguafranca/Library/Sounds/doorbell.aiff

A. Copy n Paste the following into the ‘Script Editor’ application on OS X.

------------------------------------------------------------------------
tell application "Finder"
open document file "doorbell.aiff" of folder "Sounds" of folder "Library" of folder "mrlinguafranca" of folder "Users" of startup disk
end tell
------------------------------------------------------------------------

B. Change the parameters with the location of YOUR AIFF file
C. Click ‘Run’ to test that it plays the sound file. (Success? Good).
D. Save it somewhere and exit.

_*STEP 2 - Setup a Rule in OS X Mail*_

1. Open Mail.
2. Click Mail>Preferences>Rules.
3. Click Add Rule.
4. Set up the rule as follows:
Give the rule a meaningful description e.g. PlayMailNotificationSound
“If ANY of the rules are met” select (Every Message) from the drop down.
Perform the following actions select (Run AppleScript) select (THE LOCATION OF YOUR APPLESCRIPT)
Click OK.
5. Restart OS X Mail.
6. Send yourself a mail and listen carefully.

Hopefully it’ll work for you as it works for me.

(If even I can think of a workaround, what are the guys at Apple doing?)

Buen dia.

Mr Linguafranca.

Jan 16, 2008 2:52 PM in response to Rodney9

Si senore, hay! (Yes sir, there is)

The script just tells OS X to play the AIF file you select. So it will open the file in iTunes or whatever other player you have configured as the default player for those audio files. Right-click on an AIF files and click 'Get Info' and it'll list the 'Opens with'. What you need here is to choose an alternate player which simply plays a sound and disappears into the background.

This is a freebie utility that I use to do that very thing:

http://microcosmsoftware.com/playsound/

It's a tiny utility that you just copy somewhere in your Applications folder to install. (Mine is in /Applications/Utilities).

Then assign ALL AIF files to open with Play Sound instead. To do that, right-click on an AIFF file, choose 'Get Info' and in the 'Opens With' drop down, choose Play Sound. Make you check the 'Change all' checkbox so it does this for all AIF files. (In fact you can decide to only use Play Sound for your email notification sound or as a simple AIF player - the choice is yours).

That's it!

Let me know how you get on.

Cheers.

MrLinguaFranca.

Feb 17, 2008 2:29 AM in response to MrLinguaFranca

Indeed a very nice tip, thank you very much!

On my own machine I have changed the script a little bit so I don't have to assign any filetypes permanently with "Play Sound" and to quit that little app after having played the sound, otherwise it remains in your memory permanently. This is what I use:

+tell application "Play Sound"+
+play "Macintosh HD:Users:Morbo42:Music:Misc:New Mail.aiff"+
quit
+end tell+

Of course you have to change the path to the sound file accordingly. You can even play the original 'New Mail' sound if you extract that simply from the Mail.app package. Simply ctrl-click on Mail.app in Finder, select 'Show Contents' and navigate to "Mail.app->Contents->Resources->New Mail.aiff", there it is! Just copy it somewhere else and it can be used it in the script like I did above.

This works nicely for me, at least until Apple finally gets Mail.app right again.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

New Mail Sound

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.