You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/01/23 22:10:58 UTC
svn commit: r371667 - /lenya/zone/bin/mail.sh
Author: thorsten
Date: Mon Jan 23 13:10:51 2006
New Revision: 371667
URL: http://svn.apache.org/viewcvs?rev=371667&view=rev
Log:
initial version of the mail script
Added:
lenya/zone/bin/mail.sh (with props)
Added: lenya/zone/bin/mail.sh
URL: http://svn.apache.org/viewcvs/lenya/zone/bin/mail.sh?rev=371667&view=auto
==============================================================================
--- lenya/zone/bin/mail.sh (added)
+++ lenya/zone/bin/mail.sh Mon Jan 23 13:10:51 2006
@@ -0,0 +1,18 @@
+#!/usr/bin/bash
+sender=dev\@lenya.apache.org
+#recipient=thorsten\@apache.org #TEST
+recipient=$sender
+
+function sendMsg {
+cat | mail $recipient <<EOF
+Subject: Lenya.zones - $1
+To: $recipient
+From: $sender
+Reply-to: $sender
+
+At lenya.zones.apache.org
+$1
+
+See logfile: $2
+EOF
+}
Propchange: lenya/zone/bin/mail.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lenya/zone/bin/mail.sh
------------------------------------------------------------------------------
svn:executable = *
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org