Looking in mozilla directory \bin\defaults\pref\mailnews.js there are
some entries for sound as following:
// the ui will eventually use these three prefs:
pref("mail.biff.play_sound",true);
pref("mail.biff.use_default_sound",true);
pref("mail.biff.sound_file","");
// must be an URL. (provide this back door for mac users, until we have
a UI
pref("mail.biff.default_sound_url","");
This allows for both methods of selecting the file to play for new mail.
I use the sound_file method under windows because the other didn't
appear to work for me. The comment mentions that this default_sound_url
is a backdoor for Mac users, probably because of the spaces in paths on
the Mac chooser/filesystem. This may also be the same for Windows
although I haven't tried that reasoning out yet.
Jacek Piskozub wrote:
> Julz wrote:
>
>> I have the following in my prefs.js file:
>>
>> user_pref("mail.biff.sound_file",
>> "F:\\home\\julz\\Mozilla\\Julz\\u41wdci4.slt\\mailworf.wav");
>> user_pref("mail.biff.use_default_sound", false);
>>
>> This works perfectly. Oh I'm using mozilla-win32-0.8.1-talkback
>>
>
>
> I believe the second line is completely unnecessary. Also, I'm
> surprised that this form of directory listing works here. Would it work
> with a space in the file name?
>
> I have the classical URL form:
> user_pref("mail.biff.default_sound_url",
> "file:///C|/windows/media/Musica%20Open.wav");
>
> As usually in URLs, %20 means "space".
>
> Jacek