|
> From: DReid@capitalfactors.com
>
> Put this in java program
>
> Properties props = new Properties();
> props.put("mail.smtp.host", "128.35.0.1");
> Session session = Session.getDefaultInstance(props, null);
> boolean debug = Boolean.valueOf("false").booleanValue();
> session.setDebug(debug);
Not to get picky, but the following statements:
boolean debug = Boolean.valueOf("false").booleanValue();
session.setDebug(debug);
Are equivalent to:
session.setDebug(false);
I just wanted to make sure you didn't make Mr. Lampert type in too much
extra code <grin>.
Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.