Hello, trying to receive email notifications when FOUND... hook-find using mutt.
When I run "mutt -s 'LBC - FOUND!!!' -- "
myemail@gmail.com" < ~/Documents/LBC/FOUND.txt" I receive the email.
Problem is that I don't receive email when something found. I have created a file lbchook.sh and put inside as you mention to the manual the following code:
#!/bin/bash
mutt -s 'LBC - FOUND!!!' -- "myemail@gmail.com" < ~/Documents/LBC/FOUND.txt
Then make it executable "chmod +x lbchook.sh" and store it to LBC directory where the LBC perl is located.
When I test it using "./LBC -x" doesn't receive email. This is write 4 sample records, it should send the email right?
Should I move the file lbchook.sh at different location?
Can someone tell me what I am doing wrong please?
Thanks in advance!