![]() ![]() This required developing a new communication mechanism, making it zombie-proof, and making a new way to launch the app when needed. When Apple sandboxed Mail, which meant that the plug-in could no longer communicate with the SpamSieve app via AppleScript. The main hurdles have been unrelated to the API itself: I’ve always tried to make minimal hooks into Mail, and so the updates needed due to Mail code changes have been minor. The private API has proven amazingly stable. And I’ve even been able to patch Mail to fix some (FB7035263) but not all (FB7145734) of Mail’s AppleScript bugs and to tweak the interface to make it more readable. The private API ended up being more reliable and faster. But the reason I ended up making a plug-in is that the official API (AppleScript rule actions) was buggy. I had resisted doing so because I didn’t want to rely on an unsupported private API. This takes me back to why I wrote a Mail plug-in in the first place. Extensions are supposed to be able to access the raw data of the message, but currently they receive either incomplete data (FB9175977) or none at all (FB9176011). I say, “in theory,” because MailKit in the Monterey developer beta doesn’t work as designed/documented. In theory, the current Monterey API is sufficient to implement the core SpamSieve functionality, though implementing some of the more advanced features would require API changes (FB9176051, FB9176075, FB9176097). Unless it’s expanded in a future version, I think a lot of plug-ins will not be able to make the transition to extensions, a loss to both their users and developers.įor SpamSieve, I’m cautiously optimistic about extensions. Plug-ins still work in Monterey, and SpamSieve’s is already in public beta.Ĭurrently, MailKit’s functionality is very limited. In the WWDC session, Apple indicated that older Mail app plug-ins will stop functioning in an unspecified future macOS release. We’ll deep dive into the MailKit API, and show you how to create extensions for composing messages, message actions, secure email, and content blocking. MailKit enables apps to easily and securely interact with the Mail app for macOS. Meet MailKit: the best way to build amazing experiences on top of Mail. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |