Hello All,
I had some issues trying to get my plugin (SignatureProfiler -
http://www.littleknownsoftware.com/sigpro) even be recognized by Mail
on Snow Leopard and asked Scott for a few pointers, but he is very
busy getting his stuff fixed and shipped as well. So I managed to find
a few pointers and things to at least get mail to *recognize* that my
plugin can run.
So I thought that I would share what I have found. I still havent got
my plugin fully working but those seem to be other issues.
1. Mail runs in 64-bit mode on Snow Leopard, so if your plugin is not
compiled as 64-bit, it won't run in Mail.
a. You can run Mail in 32-bit mode (do a Get Info and set the flag),
but this is untenable for your customers
b. Recompile your plugin to be 64-bit.
2. Mail now expects you to tell it *exactly* which versions of both
the Mail.app and Message.framework your plugin works with
a. Here you need to add some new items to you plugin's plist file:
<key>SupportedPluginCompatibilityUUIDs</key>
<array>
<string>225E0A48-2CDB-44A6-8D99-A9BB8AF6BA04</string>
<string>B3F3FC72-315D-4323-BE85-7AB76090224D</string>
</array>
b. The string values here are from the plist files of both Mail.app
and Message.framework with the key "PluginCompatibilityUUID".
c. Be sure to include keys for each piece and also each version of
the framework or app.
Those are the basic things to take care of. I am still having
difficulty having my plugins preference pane appear in Mail.app's
Preferences, but my plugin does actually work. But without it's prefs,
it is fairly useless. I can't see for the life of me why it won't see
my preference pane - if anyone has any ideas, I'd be very happy to
hear it.
Good luck.
Scott