diff options
author | root <root@dev.spline.de> | 2009-01-21 10:29:51 +0100 |
---|---|---|
committer | root <root@dev.spline.de> | 2009-01-21 10:29:51 +0100 |
commit | adb9df1e15e240ac77ee71d473b431638140d9ad (patch) | |
tree | ee81a1b376ce14f767c166138551d420204c73cb /bin | |
parent | eead0b8bc96a09116ce4983f913365efc5a9cf30 (diff) | |
download | dev-scripts-adb9df1e15e240ac77ee71d473b431638140d9ad.tar.gz dev-scripts-adb9df1e15e240ac77ee71d473b431638140d9ad.tar.xz dev-scripts-adb9df1e15e240ac77ee71d473b431638140d9ad.zip |
send email to dev@spline.de if project has been created
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/addproject | 16 |
1 files changed, 16 insertions, 0 deletions
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 |