summaryrefslogtreecommitdiffstats
path: root/bin/addproject
diff options
context:
space:
mode:
Diffstat (limited to 'bin/addproject')
-rwxr-xr-xbin/addproject16
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