initial version of thunderbird wrapper

pull/4/head
Sascha Rommelfangen 2017-05-03 06:27:26 +02:00
parent a976a4bffe
commit 078b718570
1 changed files with 5 additions and 0 deletions

5
thunderbird_wrapper.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
MESSAGE=`cat $1`
SUBJECT=`head -n 1 $1`
/opt/local/bin/python2.7 /Users/rommelfs/Scripts/mail_to_misp/mail_to_misp.py "$MESSAGE" "$SUBJECT"