mailto: URL handling in MacOS Mail.app

Hi,

I'm working on a series of scripts and utilities that process logs and generate pre-composed email reports as a consequence, and wanted to use the open "mailto:address?subject=my subject&body=..." to do so from the scripting.

to, cc, bcc, subject, and body are all obvious attributes, but what others are handled?

Emails are typically sent from a joint mail address, not the user's primary (default) mail account (but one that is also locally provisioned in Mail.app). So I'd like to force the from=address attribute as well. And the messages should be text/plain, not multipart, and the charset of us-ascii.

Where can I find the detailed handling on mailto: URL's in MacOS?

RFC-6068 is unfortunately a guideline, and doesn't flesh out many requisites.

Thanks

mailto: URL handling in MacOS Mail.app
 
 
Q