projects
/
org.ibex.mail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31ac94c
)
dont let unexpected exceptions impede outgoing smtp
author
adam
<adam@megacz.com>
Wed, 7 Jul 2004 08:55:33 +0000
(08:55 +0000)
committer
adam
<adam@megacz.com>
Wed, 7 Jul 2004 08:55:33 +0000
(08:55 +0000)
darcs-hash:
20040707085533
-5007d-
87e3baa5fb43e5e80ae1564929ca258bd060b6da
.gz
src/org/ibex/mail/protocol/SMTP.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/mail/protocol/SMTP.java
b/src/org/ibex/mail/protocol/SMTP.java
index
3fdf362
..
4fea25e
100644
(file)
--- a/
src/org/ibex/mail/protocol/SMTP.java
+++ b/
src/org/ibex/mail/protocol/SMTP.java
@@
-154,7
+154,8
@@
public class SMTP {
while(true) {
for(Mailbox.Iterator it = spool.iterator(); it.next(); )
try { if (attempt(it.cur())) it.delete(); }
- catch (IOException e) { Log.error(SMTP.Outgoing.class, e); }
+ catch (Exception e) { Log.error(SMTP.Outgoing.class, e); }
+ }
synchronized(Outgoing.class) {
Log.info(SMTP.Outgoing.class, "outgoing thread going to sleep");
Outgoing.class.wait(5 * 60 * 1000);