Last active
August 29, 2015 14:02
-
-
Save maxandersen/b35c558ffbf67b4673ec to your computer and use it in GitHub Desktop.
Revisions
-
maxandersen revised this gist
Feb 20, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Install "sendEmail" on OSX I did that with 'brew install sendemail' on fedora/red hat 'yum sendEmail' should work too (not tested). -
maxandersen revised this gist
Jul 21, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Install "sendEmail" on OSX I did that with 'brew install sendEmail' on fedora/red hat 'yum sendEmail' should work too (not tested). -
maxandersen created this gist
Jun 12, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ Install "sendEmail" on OSX I did that with 'brew sendEmail' on fedora/red hat 'yum sendEmail' should work too (not tested). http://caspian.dotconf.net/menu/Software/SendEmail/ Then use the script below and do this in the dir with your pdf's for the script (it will just take all *.pdf). sh sendreceipts.sh <barcode> Note: you need to escape the barcode i.e. if I had DTID-99$CPID-353560\ I use sh sendreceipts.sh DTID-99\$CPID-353560\\ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ sendEmail -f me@somecompany.com -u "$1" -s smtp.company.com -t expenses@company.com -m "/peace" -v -a *.pdf