]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/email/MailProbe.java
upd: rename sendmail to sendMail
[gigi.git] / src / org / cacert / gigi / email / MailProbe.java
index 7bca705cbd288beb25305bc3e20d8dea78d67dd4..987c036ef5203b85ddd9e471730bcd131052dbe9 100644 (file)
@@ -9,9 +9,9 @@ public class MailProbe {
 
     public static void sendMailProbe(Language l, String type, int id, String hash, String address) throws IOException {
         StringBuffer body = new StringBuffer();
-        body.append(l.getTranslation("Thanks for signing up with CAcert.org, below is the link you need to open to verify your account. Once your account is verified you will be able to start issuing certificates till your hearts' content!"));
+        body.append(l.getTranslation("Thanks for signing up with SomeCA.org, below is the link you need to open to verify your account. Once your account is verified you will be able to start issuing certificates till your hearts' content!"));
         body.append("\n\nhttps://");
-        body.append(ServerConstants.getWwwHostNamePort());
+        body.append(ServerConstants.getWwwHostNamePortSecure());
         body.append("/verify?type=");
         body.append(type);
         body.append("&id=");
@@ -21,8 +21,8 @@ public class MailProbe {
         body.append("\n\n");
         body.append(l.getTranslation("Best regards"));
         body.append("\n");
-        body.append(l.getTranslation("CAcert.org Support!"));
-        EmailProvider.getInstance().sendmail(address, "[CAcert.org] " + l.getTranslation("Mail Probe"), body.toString(), "support@cacert.org", null, null, null, null, false);
+        body.append(l.getTranslation("SomeCA.org Support!"));
+        EmailProvider.getInstance().sendMail(address, "[SomeCA.org] " + l.getTranslation("Mail Probe"), body.toString(), "support@cacert.org", null, null, null, null, false);
     }
 
 }