[MlMt] MailMate event scripts
Helge Andre Gudmundsen
helgeg at helgegudmundsen.com
Fri May 13 09:15:19 UTC 2011
Hi,
I am trying to get a simple script to run when new mail arrives, but my
script does not seem to trigger. I based it on the included New
Mail.mmCommand.
-- SCRIPT START --
{
// disabled = 0;
name = 'New Mail';
events = ( 'account.synchronized' );
select = "#source.path = 'INBOX' and #flags.flag !=[x] '\\Seen'";
script = "#!/bin/sh\nsay 'Your mail is here'\n";
actions = (
{ type = playSound; path = '/Users/helgeg/crunch_splat_13.wav'; },
);
uuid = '36471876-4F80-453D-8948-BF05B893D0E8';
}
-- SCRIPT END --
Are there any debug settings in MailMate that I can use to check whether
the script triggers or not?
--
helge
More information about the mailmate
mailing list