Re: sending emails with authentication
Chris Burdess <[email protected]> Tue, 14 Sep 2010 10:03:28 +0100
| Newsgroups | gmane.comp.java.classpath.extensions.javamail |
|---|---|
| Message-ID | <[email protected]> |
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")));
>=20
> 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.
--=20
Chris Burdess