]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/util/ServerConstants.java
add: detect a quiz-admin directly in gigi
[gigi.git] / src / org / cacert / gigi / util / ServerConstants.java
index cab50b4efef10177205e89632b37902f030901b9..73bf9d2ec24ca8a108750052f4f56697f12eb025 100644 (file)
@@ -114,4 +114,12 @@ public class ServerConstants {
         return "board@" + ServerConstants.getWwwHostName().replaceFirst("^www\\.", "");
     }
 
+    public static String getQuizMailAddress() {
+        return "quiz@" + ServerConstants.getWwwHostName().replaceFirst("^www\\.", "");
+    }
+
+    public static String getQuizAdminMailAddress() {
+        return "quiz-admin@" + ServerConstants.getWwwHostName().replaceFirst("^www\\.", "");
+    }
+
 }