M
Mike Taylor
Help!
I've got a javamail application which is delivering many messages to a
number of mailboxes - these are currently hosted on a Domino mailserver.
This mailserver is accepting connections on smtp (port 25), but
is not sending the SMTP protocol exchanges. Because of this, javamail just
blocks. I've tried the send(), sendMessage() and the Transport.connect()
methods, and they are all the same.
Most of the time, it works fine. The thing sends many thousands of
messages a day, but every now and then, the Domino mail server gets
stressed out, and whilst it listens on port 25, it doesn't send or respond
to SMTP protocol messages.
I can emulate this by writing a simple application which listens on port
25, accepts incoming connections, but does nothing else. If I get javamail
to connect to this emulator, it blocks - just as it would when connecting
to a heavily-loaded Domino server.
Any idea how I can abort the connection, or define a timeout, so the
connection is closed? Domino mailservers have a limited number of
connections, so leaving "dead" connections open is causing real problems.
Thanks in advance!
Mike Taylor.
I've got a javamail application which is delivering many messages to a
number of mailboxes - these are currently hosted on a Domino mailserver.
This mailserver is accepting connections on smtp (port 25), but
is not sending the SMTP protocol exchanges. Because of this, javamail just
blocks. I've tried the send(), sendMessage() and the Transport.connect()
methods, and they are all the same.
Most of the time, it works fine. The thing sends many thousands of
messages a day, but every now and then, the Domino mail server gets
stressed out, and whilst it listens on port 25, it doesn't send or respond
to SMTP protocol messages.
I can emulate this by writing a simple application which listens on port
25, accepts incoming connections, but does nothing else. If I get javamail
to connect to this emulator, it blocks - just as it would when connecting
to a heavily-loaded Domino server.
Any idea how I can abort the connection, or define a timeout, so the
connection is closed? Domino mailservers have a limited number of
connections, so leaving "dead" connections open is causing real problems.
Thanks in advance!
Mike Taylor.