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

                    • Troubleshooting Oauth configuration for mail server settings

                      Oauth in ServiceDesk Plus / AssetExplorer for Mail SDP supports Oauth configuration for Office365 and GSuite mailboxes since 11106 build. Office365 mailboxes can be configured with Oauth authentication using EWS (since 11106) and IMAP / SMTP (since ...
                    • 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 ...
                    • Fix JAR for Parse Error Exception Raised during Mail Fetching

                      Issue : Some mail are fetched and created as ticket without description due to message corruption temporarily. The issue is can be identified with the below trace. Fix : The issue is not recreated when the mail is skipped to next schedule and fetched ...
                    • 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 Stopped Due to Inline Image Handling

                      Issue Cause : While fetching a mail, in certain mail servers, cid of inline image is not parsed correctly. Once inline stream is converted to image, cid in src attr will be replaced with image url. cid for uploaded inline image in mail content is not ...