From: Holger Levsen Date: Mon, 26 Nov 2012 16:25:21 +0000 (+0100) Subject: display mail headers. Closes: DEVINF-255 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=7e7269034f8353abe20d5b0b186bbd3efede802e;p=profitbricks%2Fjenkins-build-scripts.git display mail headers. Closes: DEVINF-255 --- diff --git a/liveboot_testdeploy.sh b/liveboot_testdeploy.sh index 5b7e971..099410b 100755 --- a/liveboot_testdeploy.sh +++ b/liveboot_testdeploy.sh @@ -120,9 +120,22 @@ fi echo # -# send announce mail +# output announcement mail headers # +while read line ; do + if [ "$line" != "" ] ; then + echo $line + else + break + fi +done < $MAIL +echo mailtextbody < $MAIL ; echo +echo "Attachments not shown here." +echo +# +# send announcement mail +# cat $MAIL | /usr/sbin/sendmail -t echo echo "Ok, announcement mail sent."