Hi, I currently have an email (gmail account) event trigger that runs a script as follows:
sub main()
dim index
index = hs.MailTrigger
hs.MailDelete index
end sub
However, the mail does not get deleted as expected. Any idea why? Is there some setting in my Google account that disallow deletion of gmail emails? (I didn't see any)
Thanks,
Henry
sub main()
dim index
index = hs.MailTrigger
hs.MailDelete index
end sub
However, the mail does not get deleted as expected. Any idea why? Is there some setting in my Google account that disallow deletion of gmail emails? (I didn't see any)
Thanks,
Henry
Comment