Re: sending emails with authentication
Chris Burdess <[email protected]> Tue, 21 Sep 2010 08:47:21 +0100
| Newsgroups | gmane.comp.java.classpath.extensions.javamail |
|---|---|
| Message-ID | <[email protected]> |
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! >=20 > 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. --=20 Chris Burdess