From 8f731063c3a73ae2585abd4f949611f153be9421 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 20 Jul 2007 20:04:30 +0000
Subject: [PATCH] Add a general framework for OpenDS to send e-mail messages, and add an SMTP alert handler that can be used to send e-mail messages in response to administrative alerts generated within the server.

---
 opends/src/server/org/opends/server/util/ServerConstants.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/util/ServerConstants.java b/opends/src/server/org/opends/server/util/ServerConstants.java
index 4e97869..dd213c4 100644
--- a/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -2552,5 +2552,21 @@
    */
   public static final String SCHEMA_BASE_FILE_NAME_WITHOUT_REVISION  =
        "schema.ldif.";
+
+
+
+  /**
+   * The name of the JavaMail property that can be used to specify the address
+   * of the SMTP server.
+   */
+  public static final String SMTP_PROPERTY_HOST = "mail.smtp.host";
+
+
+
+  /**
+   * The name of the JavaMail property that can be used to specify the port for
+   * the SMTP server.
+   */
+  public static final String SMTP_PROPERTY_PORT = "mail.smtp.port";
 }
 

--
Gitblit v1.10.0