Well I decided that I am finally fed up with hotmail popping up every time
I click a mailto on a web page, so I decided to fulfill everyones wishes
and dive into the registry to get SM to load up instead. After a few hours
(seemed like hours but really was about 45 seconds, that registry is a vast
wasteland of garbage) I came up with a working solution and added a small
snippet of code to compose.php to help me out.
Attached is a registry file that will add "Squirrelmail" as an option in
Internet Explorer's default mail clients, and will set up the mailto
protocol to use it. Edit this reg file first and change the domain in
there to point to your SM installation. Merge it (you can make a backup of
yours if you want, and I probably recommend it, but this doesn't change
anything, just adds a few new keys). Then go into your Internet Explorer
setting and change the default mail client to "Squirrelmail". You can
change it back to any of the others if you need to later.
Next apply this small patch to your src/compose.php. The mailto protocol
keeps the mailto: at the front of the address, this patch just lets us
strip it automatically instead of having to delete that part every time.
I have only tested it on Windows 2000, so if you are daring enough to try
it out on 95/98/ME/XP for me, let me know what comes about. Working with
the registry is always dangerous so I take no responsibility for you
running this patch. Let me know if you like it, and how it works for you.
Thanks and I hope this is helpful to someone else besides me,