no mail sounds after installing El Capitan

I just installed El Capitan and the first thing that I have noticed is that the normal sounds that apple mail puts out do not come out of the speakers. iTunes works fine but not then mail sounds. Any help would be appreciated

Posted on Sep 30, 2015 7:03 PM

Reply
333 replies

Nov 6, 2015 12:18 PM in response to plind

I can see now that I need to get away from IMAP and go back to POP3 even if I can't get an email notification sound.

IMAP is saving my mail on the server and if I delete it over there, it is no longer on my computer. I'd rather have the mail on my computer to read AND not leave it sitting around on the server. Problems, problems.

I'm not sure how anyone else feels, But I hate this El Crap-iton.

It has caused 1,000 problems I never wanted.

I tried to use time machine to back up after I loaded El Crap-iton and it formatted my time capsule. So now I can't go back.

I'm hating this crap-iton bad.


Just my 2 cents. I'm sure others will disagree.

Nov 6, 2015 12:50 PM in response to Nedley

syntax errors will be because there are characters missing, of the wrong case or added in the text of the script.


In the script editor:

tell application "Mail"

do shell script "afplay '/(make this the path to your sound - something like) Users/Desktop/email-sound.mp3"

end tell

the above assumes your sound is on the desktop but it can be wherever you want - you just have to make the path to it correct in the script

Pay attention to letter case and the double and single quote marks...

In theory you could copy and paste the above into the script editor in Applescript and remove and change the relevant bits.

The post from Thoughtforce (on page 6 of this thread I think) who posted the script in the first place explains it clearly.

Some people have had to add "stop evaluating rules" to the end of the Mail rule but I didn't need that.


it's worth persevering - it definitely works - good luck

te

Nov 6, 2015 2:06 PM in response to Peter Savage

Peter

Forgive me for this question. I felt like I was computer literate until this.


I've spent a fair amount of time trying to get this script right and I just don't get any sound when I click the play button.


I made the script just as simple as I could by creating a folder on the desktop called xx and I put into that folder a file named x.aiff ......

trying to keep it as simple as possible.

The script I wrote goes like this....


"afplay '/Users/Desktop/xx/x.aiff"


It seems like my name should be in there some where, I tried that and got syntax error.

There must be something I'm missing. Maybe its the term, tell application "Mail" that is throwing me off and I just don't understand what THAT means. When I click the play button, I don't get an error, but nothing plays either. ( The path when I click on the folder xx, has my name in the path.)

OR

"Do shell script" does not mean create a script.

There is something wrong. It should play WAV, AIFF or mp3 with out a problem. I tried an mp3 file and still nothing. Seems like I should be able to hear something when I hit the play button without needing to APPLY it in the mail, or am I wrong.

Can you see an problem in the script I wrote.

I was paying attention to the capitals, so that shouldn't be the problem.


Are you running El Capitan? maybe that is the problem? Sorry for being a pain,but I'm lost.

Nov 6, 2015 2:31 PM in response to rickfromhooper

hi ,

yes I am running el capitan (sadly!)


yes you need your home folder name after User/

sorry I missed that earlier.

It should not make any difference what type of audio file you use but obviously Mp3 will be smaller and less demanding...


sorry if this is obvious but you do need to be creating the script in the application Script Editor (inside Utilities folder)

you need everything below:


tell application "Mail"

do shell script "afplay '/Users/ your home folder name/Desktop/email-sound.mp3"

end tell

change the red text to your home folder name

if the sound file is on the desktop it should play. Once you know it works you can change the path to a better location.

I also did not mention (but see thoughtforce's post) you have to save the script inside Application Scripts folder of the Library folder of your home folder.

I have my script inside a folder named com.apple.mail (not sure if this is necessary but it works for me)

so the path is:

your home folder name/Application Scripts/Library/com.apple.mail/x.aiff

I see a post from Joseph that shows a single quote and double quote after the sound file name.. my script doesn't have the single quote but it may be required best to try both.

good luck with it

p

Nov 6, 2015 2:44 PM in response to Peter Savage

thoughtforce had the 3 ticks after the .wav so that is what I used and it works.

tell application "Mail"

do shell script "afplay '/Users/MyAUDIO/BeepBeepBeep.wav'"

end tell


Follows PHP code in that respect for me.


I also just noticed Peter has a slight mistake.

your home folder name/Application Scripts/Library/com.apple.mail/x.aiff

Should be

your home folder name/Library/Application Scripts/com.apple.mail/x.aiff

We all do it Peter. Just like a typo. 🙂

Nov 6, 2015 3:27 PM in response to Peter Savage

Ok. Things are looking good. I thought my name should be in there.

I wrote the script, put my name in there, put the '" after the script, no syntax error. Thats all working. I named it " PlaySound.scpt and put that into a folder named "com.apple.mail.


All that went fine. Now in need to put it into the folder under my name /Library good so far, but when I go to click on "/Application Scripts, problem.

There is no Application Scripts, only Application Support . I put it in there (it wanted my password, then it did go into the folder ) but no sound when I click the play button.

This is hand to hand combat.

I typed Application Support in the search window, but it couldn't find a folder with that name.

Makes me feel like crawling under a rock. Why don't I see a folder maned Application Scripts? Just Application Support.

Do I have something turned off.

Sorry for not knowing this. I can't find that folder.

Nov 6, 2015 3:39 PM in response to Joseph Kriz

Many THANKS to you and thoughtforce for helping me to create an AppleScript to play incoming New Mail Sounds. I am completely new with writing AppleScripts and it took a couple of tries to get things right. But now I hear the glorious New Mail Notification Sound with new mail and it is like music to my ears. I am totally disgusted with Apple for their sudden leap to the Microsoft Dark Side. That makes me wonder what else in El Capitan is now botched up that worked so well with its predecessors. Steve Jobs would not tolerate such underhanded **** poor engineering behind the backs of Apple's loyal customers. The difference between Apple and Microsoft has always been honesty and quality. Maybe Apple needs to spend less time ******* around with the Emoji's and more time taking care of those who line their pockets with gold, their customers. For now, I consider the new Apple design philosophy to be a huge leap towards a new company...............MicroAppleSoft. The new company logo of course will be the Middle Finger Emoji.

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.

no mail sounds after installing El Capitan

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