Sometime ago, I claimed I’d try to put together a black box for email via Panorama X and Python. I’ve finally gotten it done. This would have been posted to the Database Exchange but there are two small files included, not one, so it isn’t accepted.
Download Mailbox, a utility database for use with Panorama X and Python 2.7 or later for sending email from Panorama X. OS X systems come with Python pre-installed, so typically there is no need to even concern yourself about it. Mailbox will just run.
Mailbox greatly simplifies the task of sending email directly from your Panorama databases and requires very little Panorama programming on your part. And while it can be used as-is, ideally you’ll use it as a starting point to build your own emailing system. See the built in help system for details.
Mailbox can send plain text email or HTML styled email. It can include embedded images or attached files. It can be used along with a Panorama database to perform data merges to send a single email message at a time or to loop through as many as you choose.
Although it’s delivered in a locked-down mode, access is freely provided on request.