Authentication and Configuration Errors

  1. Settings saved successfully. But an error occurred while trying to check connection with mail server – Authentication Failed using the given username and password.
  2. Email settings saved successfully. But an error occurred while trying to check connection with mail server – Problem connecting to mailbox.

Cause:

The error occurs if

  1. the configured username or password in Mail server settings is incorrect.
  2. the ServiceDeskPlus-MSP server is unable to communicate with the mailserver.

 

Error trace in logs:

javax.mail.AuthenticationFailedException: Bad login

Solution:

  1. Check if there is proper connection with the mail server.
  2. Check if the given username and password is correct under Admin –> Mail server settings –> Incoming –> Save Settings. cmd> telnet “ip address” “port number”

Protocols Used: Incoming are POP – 110, IMAP- 143

cmd>telnet sdplinmail 110 (POP)
>user “sd-test2”
>ok
>pass “sdp”
>ok

Incorrect password when using POP

cmd> telnet 192.168.113.120 143 (IMAP)

> a1 capability
> a2 login “username” “password”
> a3 inbox mail-box-name

 

Incorrect password when using IMAP

cmd> telnet 192.168.113.120 993 (IMAPs)

> a1 capability
> a2 starttls
> a3 login “username” “password”
> a4 inbox mail-box-name

Information required for analysis:

Support Tab –> Support File

Need More Help?

Are you looking for a personalized customer support? Submit your question or Call our Toll Free Number to speak with ServiceDesk Plus MSP Expert who can offer a better solution for your requirements.

Submit a Ticket
Email : sdpmsp@manageengine.com
Toll Free : 1-888-720-9500