Fix email run part.
[sitka/sitka-tools.git] / marc_export_custom / sitka-full-export-parallel-outlook-wrapper.sh
index 4fae518..e54c18a 100755 (executable)
@@ -25,4 +25,5 @@ rels -l
 EOF
 lftp -f lftp.cmd
 chmod +x email-template.sh
-./email-tempate.sh "$T" "@$(date +%s)"
+./email-template.sh "$T" "@$(date +%s)" >email.txt
+sendmail <email.txt