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, 14 Sep 2010 10:03:28 +0100

Daniel Rindt wrote:
> days ago i try to send emails with an external mailserver which is
> requesting authentication. I followed the examples from suns
> javamail-api page. But unfortunately i have no luck to get errors or an
> email to the destination adress nor i got informations from
> session.setDebugOut(new PrintStream(new File("/var/tmp/javamail.out")));
> 
> Maybe someone can please point me to a working example?


Not only do you have to call Session.setDebugOut but also 
Session.setDebug(true).

GNU JavaMail does support both session-properties-based credentials and 
credentials supplied directly to Store.connect - please view the README if you 
are unsure.
-- 
Chris Burdess





reply via email to

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