Page 1 of 1

Rule with email did not attach file

PostPosted: Sun Nov 27, 2016 2:23 pm
by ddougan
I have a couple of rules set that take a downloaded PDF and emails a copy to my wife. Yesterday, one of them sent the email, but did not have the file attached.

I assume it might be a timing issue. Is there something I can do to resolve that?

The rule first renames the download, then runs a Bash script to run the MailMate command-line send option, using the $1 token for the attachment.

The rule then copies the PDF into Evernote and deletes the download.

Re: Rule with email did not attach file

PostPosted: Mon Nov 28, 2016 12:46 pm
by Mr_Noodle
I'm not familiar with MailMate but I suggest turning on any diagnostics you can in that program. The file should exist before Hazel calls the script.