commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavan Kumar <>
Subject Problem with SMTP NoOp in Commons Net
Date Tue, 14 Apr 2009 06:31:10 GMT

I am using the commons net library for SMTP server communication. I built a
java class that returns me a SMTPClient object for communication.

The class behaves as
  - if a client object doesn't exist already , it will create a new and
gives it
  - if a client object is already there then it invokes the NoOp() to verify
the server connectivity and returns the object.

In the second case for my surprise the server was taking much longer
response time for a NoOp. When this NoOp was removed by just returning the
client object the response time was drastically improved like 80%.

Why should a SMTP server take more longer time for a NoOp than a regular
email request with content? Are there any special cases?

Any help is appreciated.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message