How to perform a telnet test to validate connectivity to a POP server

Question

When connecting to a POP server, the following error occurs:

 

Exception in component tPOP_1
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:306)
at test_project.wordprocessingpoi_0_1.wordProcessingPOI.tPOP_1Process(wordProcessingPOI.java:1161)
at test_project.wordprocessingpoi_0_1.wordProcessingPOI.runJobInTOS(wordProcessingPOI.java:1734)
at test_project.wordprocessingpoi_0_1.wordProcessingPOI.main(wordProcessingPOI.java:1452) 

 

This message indicates that the username and password are not correct for the POP connection.

 

Answer

Use the telnet command to verify POP server connectivity and credentials. Perform the test with the same credentials being used on the Job.

From a prompt, type:

telnet Server_address 110
user username@yourdomain.com
pass yoursecretpassword

Type the following command to present a numbered list of emails in the mailbox:

list

Type the following command to display email number 1:

retr 1

Exit the session by entering:

quit
Version history
Revision #:
7 of 7
Last update:
‎06-11-2018 03:13 PM
Updated by: