check config rather than assume localhost fro smtp
authorjohn <john>
Sun, 19 Jan 2003 14:13:34 +0000 (14:13 +0000)
committerjohn <john>
Sun, 19 Jan 2003 14:13:34 +0000 (14:13 +0000)
source/mircoders/servlet/ServletModuleOpenIndy.java

index 08628f9..70edefb 100755 (executable)
@@ -87,7 +87,7 @@ import mircoders.search.*;
  *    open-postings to the newswire\r
  *\r
  * @author mir-coders group\r
- * @version $Id: ServletModuleOpenIndy.java,v 1.54 2003/01/13 16:08:32 john Exp $\r
+ * @version $Id: ServletModuleOpenIndy.java,v 1.55 2003/01/19 14:13:34 john Exp $\r
  *\r
  */\r
 \r
@@ -539,7 +539,7 @@ public class ServletModuleOpenIndy extends ServletModule
       SMTPClient client=new SMTPClient();\r
       try {\r
        int reply;\r
-       client.connect("localhost");\r
+       client.connect(MirConfig.getProp("ServletModule.OpenIndy.SMTPServer"));\r
        System.out.print(client.getReplyString());\r
        \r
        reply = client.getReplyCode();\r