classpathx-javamail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-javamail] sending emails with authentication


From: Chris Burdess
Subject: Re: [Classpathx-javamail] sending emails with authentication
Date: Tue, 21 Sep 2010 08:47:21 +0100

Daniel Rindt wrote:
> Am Montag, den 20.09.2010, 08:40 +0100 schrieb Chris Burdess:
>> I amended your code and got it to work:
> Hi Chris!
> 
> i don't understand it. I used exactly your code, and i still got again a
> file with zero size. No information, nothing more.
> You have suggestions for me how to get working the logging stuff? That
> would be nice if you have some informations for me. I tested now
> different mailservers, and they all work fine. But not with the
> preferred mailserver from rackspace.

If this is purely to debug an issue rather than a long-term logging solution, 
just call Session.setDebug(true) and don't call Session.setDebugOut and it will 
log to the console. As I said I don't know myself why its behaviour is so 
unpredictable when using PrintStreams connected to files.
-- 
Chris Burdess




reply via email to

[Prev in Thread] Current Thread [Next in Thread]