JavaMail SMTP credentials verification, without actually sending an email.
- by DarK
Hi,
Is there a way to check user SMTP server credentials without sending email, or connecting to POP/IMAP.
Some code I tried to write, fails at it.
Can you find what is missing there.
Don't worry about Email / password. I know it's there.
NOTE : If you are trying out the code. The case 1 should pass when supplying the correct credentials.
If it…