Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: JavaMail bug? Date: Mon, 25 Jul 2011 19:54:27 +0000 (UTC) Organization: UK Free Software Network Lines: 33 Message-ID: References: <995djcFq0nU1@mid.individual.net> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1311623667 8560 84.45.235.129 (25 Jul 2011 19:54:27 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Mon, 25 Jul 2011 19:54:27 +0000 (UTC) User-Agent: Pan/0.133 (House of Butterflies) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6551 On Mon, 25 Jul 2011 15:40:44 +0100, Nigel Wade wrote: > This is the code I'm testing with. > Thanks (test code snipped). I'll compile and run that as well as extracting an SSCE from my own code. > My guess is that there's a mistake somewhere in the code you haven't > shown us yet. > Possibly. On a quick look everything within the try/catch bolck looks like what I'm going but I'm less certain that there are no differences in the preceeding code that's getting hold of the Session. > BTW, what version of JavaMail are you using? I've tested the above code > with both 1.3.1 and 1.4.4. > I first noticed it with JavaMail 1.4.3. Since I noticed the problem I've installed 1.4.4 and *think* I've been running against it. I said 'think' because the JavaMail jar is called mail.jar in both versions and, as I didn't reboot the machine or logout between nominal 1.4.3 and 1.4.4 tests I'm not 100% sure that the later jar file got loaded. Is there anything I can do to check which jar file is loaded, i.e. are there any distinguishing marks inside the jar file that would tell me which is loaded? -- martin@ | Martin Gregorie gregorie. | Essex, UK org |