Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use an external mail app with Mozilla mailto links' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use an external mail app with Mozilla mailto links
Authored by: ssevenup on Apr 09, '03 07:40:31PM

After one of my users complained about this earlier today, I looked for a way to solve this globally. Admittedly, altering the app bundle is a bit drastic, but for those interested in this for mass deployment here goes...

We needed to globally set Eudora as the default mail app for Camino and Mozilla (and probably Phoenix). Until it's addressed in the Mozilla code base, doing the following works for me.

As expressed before, create a user.js unix text file with...

user_pref("network.protocol-handler.external.mailto", true);
user_pref("applications.mailto", "Eudora.app");
user_pref("applications.mailto.host", "%username%@%host%");

Maybe the double quotes should be escaped but I found it worked without, and I didn't need the full path to Eudora. I then placed a copy of user.js in "Camino.app/Contents/MacOS/defaults/profile/" and "Mozilla.app/Contents/MacOS/defaults/profile/" and possibly "Mozilla.app/Contents/MacOS/defaults/profile/US/". I never verified which location was used in Mozilla or when, so I just made copies in both locations. This can be done in the Terminal or probably in the Finder with "Show Package Contents" (I didn't try). Now whenever a user is given a new OSX system where they have no default folder yet for Camino or Mozilla, the user.js gets put where it needs to be when the folder is created. This forces me to modify my browsers we install every time a new version arrives, but once the user is set up, they can then upgrade without issue, and it has no effect on users with existing profiles. I could also shell script the mod to the browser for when new versions arrive, but it's not that frequent and I should probably confirm that the structure has not changed anyway. I still want to see if just the first line of the user.js would give me whatever the Internet prefs are set to for Mail.

--MM



---
Mark Moorcroft
ELORET Corp. - NASA/Ames RC
Sys. Admin.



[ Reply to This | # ]