Notarization for mail plugin

Mail.app doesn't load any code-signed plugin as from macOS 10.14.

But notarization needs to be code-signed.

How should I do for the mail plugin for Mail.app?

Accepted Reply

Mail does not have an officially supported plug-in API, which means there’s no supported way to sign a Mail plug-in.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Replies

Mail does not have an officially supported plug-in API, which means there’s no supported way to sign a Mail plug-in.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thank you for your reply.

Are there any officially supported way to check e-mail content programmatically?

Are there any officially supported way to check e-mail content programmatically?

Probably not, but it’s hard to say without more details. “Check e-mail content” is kinda vague. Can you elaborate on your requirements?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

> Can you elaborate on your requirements?


I want to output the following to my logfile on all received/sent mail.

・from (e-mail address, name)

・to (e-mail address, name)

・attachment filename

・whether the content has some predefined keywords

Is this for an enterprise environment? Or to deploy to a wide range of general users?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

> Is this for an enterprise environment? Or to deploy to a wide range of general users?


The best match is to a wide range of general users.

The second-choice is for an enterprise environment.

In an enterprise environment you can do this sort of thing on the server side. That is, have your server collect the info you need and, if necessary, provide a web service so that your app can get to it.

In a general user context, I can’t think of any good way forward.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

That makes sense!

Thank you for your advice.

To give a bit more information, we have just finished a mail plugin for bigsur, not easy, but it's possible.
If you still need some information, please tell us