Email listener configured to fetch from Gmail inbox failing - web login errors

Version 1

    Details

     

    An email listener configured in HEAT to fetch mail from Google's Gmail may fail with one of the following errors depending on the protocol used. The credentials work when logging directly into the inbox, and all settings appear to be correct.

    POP3-
    Quiksoft.EasyMail.POP3.POP3AuthenticationException: -ERR [AUTH] Web login required: https://support.google.com/mail/answer/78754   at Quiksoft.EasyMail.POP3.POP3.Login(String Account, String Password, AuthMode AuthMode)   at com.frontrange.saas.EmailService.MailboxAccessProtocolAdapter.GetPOPMailBox(String tenantID, String mailboxName, String userName, String password, POP3AuthType mailBoxAuth, String serverHost, Int32 serverPort, Boolean useTLS)

    IMAP -
    Quiksoft.EasyMail.IMAP4.IMAP4NoException: NO [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)   at Quiksoft.EasyMail.IMAP4.IMAP4.?(String A_0, Encoding A_1, Boolean A_2)   at Quiksoft.EasyMail.IMAP4.IMAP4.?(String A_0, Boolean A_1)   at Quiksoft.EasyMail.IMAP4.IMAP4.?(String A_0, String A_1)   at Quiksoft.EasyMail.IMAP4.IMAP4.Login(String Account, String Password, IMAP4AuthMode AuthMode)   at com.frontrange.saas.EmailService.MailboxAccessProtocolAdapter.GetIMAPMailBox(String tenantID, String mailboxName, String userName, String password, MailboxAuthentication mailBoxAuth, String serverHost, Int32 serverPort, Boolean useTLS)

     


    Resolution

    Use the link: http://www.google.com/accounts/DisplayUnlockCaptcha to allow access to the automated listener, which cannot respond to any prompts that interrupt the login process.