Mails are not getting fetched > Gsuite

Mails are not getting fetched > Gsuite

Issue: Mail fetching stopped.

Reason for mail fetching to stop:  As you are aware Google has announced that it will start disabling basic authentication for EWS, POP, IMAP, IMAPS, and EAS.

Error Trace:[22:02:10:385]|[03-24-2023]|[com.adventnet.servicedesk.common.MailUtilities]|[INFO]|[111]: Check if the username and password are correct|
[22:02:10:385]|[03-24-2023]|[SYSERR]|[INFO]|[111]: javax.mail.AuthenticationFailedException: [AUTH] Application-specific password required: https://support.google.com/accounts/answer/185833|
[22:02:10:385]|[03-24-2023]|[SYSERR]|[INFO]|[111]: 	at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:215)|
[22:02:10:385]|[03-24-2023]|[SYSERR]|[INFO]|[111]: 	at javax.mail.Service.connect(Service.java:366)|
[22:02:10:385]|[03-24-2023]|[SYSERR]|[INFO]|[111]: 	at com.adventnet.servicedesk.common.MailUtilities.tryFolderConnection(MailUtilities.java:246)|

Solution: Change the Auth type from POP basic to the Gsuite Oauth authentication type. 


                    New to ADSelfService Plus?

                      • Related Articles

                      • OAuth Mail fetching Error

                        While trying to configure the mails during OAuth Configuration if you get the following error in the logs -> microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote ...
                      • Mail fetching - deleted flag issue

                        This message will be thrown, when you have provided a shared mailbox. The concept here is, SDP MSP reads the mail from the configured mailbox and adds it as a request. During the time, if some other application fetches the mail from the same mailbox ...
                      • Mail fetching issue: Fetching stops when mail sent from unapproved user (with huge description)

                        Issue : Mail fetching stops when mail sent from an unapproved user Issue found in Build number : 14200 Issue fixed in Build number : 14300 Issue ID: 20438 Error trace: ...
                      • How to stop Mail fetching before starting the application services ?

                        Use case: When you restore the data in your test environment or trying to migrate to a new server, once the restore is done, the application if started will have emails being fetched in the new server/Test server which you would not wish to. Hence ...
                      • Mail fetching stops intermittently_IndexOutOfBoundsException

                        Error trace: [com.adventnet.servicedesk.helpdesk.mail.task.MailFetchingTask]|[SEVERE]|[129]|: General Exception - Exception when trying to get messages. SO RETURNING...|java.lang.IndexOutOfBoundsException at ...