From adb9df1e15e240ac77ee71d473b431638140d9ad Mon Sep 17 00:00:00 2001 From: root Date: Wed, 21 Jan 2009 10:29:51 +0100 Subject: send email to dev@spline.de if project has been created --- bin/addproject | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'bin/addproject') diff --git a/bin/addproject b/bin/addproject index 19922ec..a3d1767 100755 --- a/bin/addproject +++ b/bin/addproject @@ -157,12 +157,28 @@ main() { EOF einfo "mail to ${user_email} has been sent" + eheading "sending DONE email to dev@spline.de" + sendmail -t <<-EOF + From: dev@spline.de + Subject: project ${project_name} for ${user_name} has been created + To: dev@spline.de + + Dear dev@spline.de, + + the project ${project_name} for user ${user_name} has been created ! + + Yours, + the dev.spline.de team + EOF + einfo "mail to dev@spline.de has been sent" + echo einfo einfo "done! success! jipii! neeeat!" einfo "you can find the project at $(color yellow)https://dev.spline.de/trac/${project_name}$(color)" einfo echo + } # go to script dir -- cgit v1.2.3