projects
/
mir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44133a7
)
check config rather than assume localhost fro smtp
author
john
<john>
Sun, 19 Jan 2003 14:13:34 +0000
(14:13 +0000)
committer
john
<john>
Sun, 19 Jan 2003 14:13:34 +0000
(14:13 +0000)
source/mircoders/servlet/ServletModuleOpenIndy.java
patch
|
blob
|
history
diff --git
a/source/mircoders/servlet/ServletModuleOpenIndy.java
b/source/mircoders/servlet/ServletModuleOpenIndy.java
index
08628f9
..
70edefb
100755
(executable)
--- a/
source/mircoders/servlet/ServletModuleOpenIndy.java
+++ b/
source/mircoders/servlet/ServletModuleOpenIndy.java
@@
-87,7
+87,7
@@
import mircoders.search.*;
* open-postings to the newswire
\r
*
\r
* @author mir-coders group
\r
* open-postings to the newswire
\r
*
\r
* @author mir-coders group
\r
- * @version $Id: ServletModuleOpenIndy.java,v 1.5
4 2003/01/13 16:08:32
john Exp $
\r
+ * @version $Id: ServletModuleOpenIndy.java,v 1.5
5 2003/01/19 14:13:34
john Exp $
\r
*
\r
*/
\r
\r
*
\r
*/
\r
\r
@@
-539,7
+539,7
@@
public class ServletModuleOpenIndy extends ServletModule
SMTPClient client=new SMTPClient();
\r
try {
\r
int reply;
\r
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
System.out.print(client.getReplyString());
\r
\r
reply = client.getReplyCode();
\r