Exemplo n.º 1
0
 public void sendMessage(MimeMessage message) {
   // The primary reason for DISABLE_EMAIL is for test configurations, so
   // we check only at the end of the process to catch bugs earlier
   // in the process.
   if (!configuration.getProperty(HippoProperty.DISABLE_EMAIL).equals("true")) {
     try {
       logger.debug("Sending email...");
       Transport.send(message);
     } catch (MessagingException e) {
       throw new RuntimeException(e);
     }
   }
 }
Exemplo n.º 2
0
 public String getDownloadUrlWindows() {
   return configuration.getProperty(HippoProperty.DOWNLOADURL_WINDOWS);
 }