removed neues konto message
This commit is contained in:
0
Hetzner_Domains_Handles_CSV_to_Redmine_Table.rb
Executable file → Normal file
0
Hetzner_Domains_Handles_CSV_to_Redmine_Table.rb
Executable file → Normal file
@@ -25,14 +25,12 @@ send_mail () {
|
||||
KUNDE=$(cat ${TMP}/${FILE}.txt |awk '/Kunde:/ {print $2}')
|
||||
TO=$(echo "${META}"|sed -e 's;.*<Mail:\(.*\)><WWW.*$;\1;')
|
||||
## Build the mail now
|
||||
SUBJECT="[it.maketank.net] !!Neues KTO!! ${SUBJPREFIX} ${NUMMER}"
|
||||
SUBJECT="[it.maketank.net] ${SUBJPREFIX} ${NUMMER}"
|
||||
M=$TMP/$FILE.mailbody
|
||||
echo "Hallo ${NAME}," >$M
|
||||
echo "" >>$M
|
||||
echo "anbei eine aktuelle ${SUBJPREFIX}." >>$M
|
||||
echo "" >>$M
|
||||
echo "!!! Bitte beachten Sie auch die Neuen Kontodaten !!!" >>$M
|
||||
echo "" >>$M
|
||||
echo "Rechnungsinformationen:" >>$M
|
||||
echo "" >>$M
|
||||
echo " Datum: ${ERSTELLT}" >>$M
|
||||
@@ -82,7 +80,7 @@ for PDF in $(ls ${SRCDIR}/*.pdf); do
|
||||
echo -n " [JPEG"
|
||||
pdfimages -j $TMP/$FILE $TMP/$FILE
|
||||
echo -n ",OCR"
|
||||
cuneiform -f smarttext -l ger -o $TMP/$FILE.txt $TMP/$FILE-000.jpg >/dev/null
|
||||
cuneiform -f text -l ger -o $TMP/$FILE.txt $TMP/$FILE-000.jpg >/dev/null
|
||||
echo ",MAIL]"
|
||||
send_mail
|
||||
archive
|
||||
|
||||
Reference in New Issue
Block a user