Validate smtp server credentials using java without actually sending mail.
Posted
by Sathish
on Stack Overflow
See other posts from Stack Overflow
or by Sathish
Published on 2010-06-17T10:30:48Z
Indexed on
2010/06/17
10:33 UTC
Read the original article
Hit count: 191
To verify smtp server credentials shall I use transport.connect()?
Session session = Session.getInstance(properties,authenticator);
Transport tr=session.getTransport("smtp");
tr.connect();
Is it correct method to check smtp server credentials?
© Stack Overflow or respective owner