DoNotDisturb icon indicating copy to clipboard operation
DoNotDisturb copied to clipboard

Sample script for email notifications

Open himynamesned opened this issue 7 years ago • 3 comments

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

himynamesned avatar Apr 27 '18 20:04 himynamesned

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

objective-see avatar Apr 27 '18 20:04 objective-see

@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" [email protected], but this ends up in my spam folder and was also hoping to add log etc.

Thanks again!

himynamesned avatar Apr 28 '18 16:04 himynamesned

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

jomo avatar Dec 14 '18 00:12 jomo