objective-see / DoNotDisturb

Detect Evil Maid Attacks
GNU General Public License v3.0
294 stars 43 forks source link

Sample script for email notifications #4

Open himynamesned opened 6 years ago

himynamesned commented 6 years ago

Can someone point me in the right direction to a script which will allow email notifications from DND's execute script function? Thanks

objective-see commented 6 years ago

I have not personally tested this - but somebody just created one that looks good: https://github.com/ptrckhbr/scripts/blob/master/applescript/DND.scpt

himynamesned commented 6 years ago

@objective-see thanks! Unfortunately, I don't use the native macOS mail app (I use Spark Mail by Readdle), and couldn't get the script to play ball.

I have used mail -s "Mac lid opened" abc@123.com, but this ends up in my spam folder and was also hoping to add log etc.

Thanks again!

jomo commented 5 years ago

The linked script has been moved to https://github.com/trashpandas/scripts/blob/master/applescript/DND.scpt