Mail program keeps asking for Credentials.

  • I have installed the mail program.

    I have set it up for gmail.

    However it keeps asking for credentials.

    I have entered my email address and password correctly. Played with it for some time uninstall install, but still same error.

    The error message is clear, but still there is not much else to set up with it. I have verified the username and password. Which seem to be the credentials. still same error.

    When I grep for mail in the log file this is what I see. Not sure if its related.

    LibreELEC:~/.kodi/temp # grep -i mail kodi.log

    2020-05-01 09:43:25.830 T:140328036456192 NOTICE: ADDON: plugin.programm.xbmcmail v0.1.0 installed

    2020-05-01 09:44:47.510 T:140328535471872 NOTICE: [xbmcswift2] Request for "/" matches rule for function "show_mailboxes"

    2020-05-01 09:49:00.556 T:140328199751424 ERROR: GetDirectory - Error getting plugin://plugin.programm.xbmcmail/

    2020-05-01 09:49:00.600 T:140329049778304 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.programm.xbmcmail/) failed

    2020-05-01 09:50:18.416 T:140328199751424 NOTICE: [xbmcswift2] Request for "/" matches rule for function "show_mailboxes"

    2020-05-01 09:56:03.483 T:140328544274176 ERROR: GetDirectory - Error getting plugin://plugin.programm.xbmcmail/

    2020-05-01 09:56:03.590 T:140329049778304 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.programm.xbmcmail/) failed

    2020-05-01 10:02:50.684 T:140328417199872 NOTICE: [xbmcswift2] Request for "/" matches rule for function "show_mailboxes"

    2020-05-01 10:33:03.386 T:140328044848896 ERROR: GetDirectory - Error getting plugin://plugin.programm.xbmcmail/

    2020-05-01 10:33:03.566 T:140329049778304 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.programm.xbmcmail/) failed

    2020-05-01 10:47:44.046 T:140328544274176 NOTICE: [xbmcswift2] Request for "/" matches rule for function "show_mailboxes"

    2020-05-01 10:48:11.032 T:140327889327872 ERROR: GetDirectory - Error getting plugin://plugin.programm.xbmcmail/

    2020-05-01 10:48:11.123 T:140329049778304 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.programm.xbmcmail/) failed

    2020-05-01 10:52:52.954 T:140327922898688 NOTICE: ADDON: plugin.programm.xbmcmail v0.1.0 installed

    2020-05-01 10:53:33.100 T:140327820125952 NOTICE: [xbmcswift2] Request for "/" matches rule for function "show_mailboxes"

    2020-05-01 10:54:10.562 T:140328044848896 ERROR: GetDirectory - Error getting plugin://plugin.programm.xbmcmail/

    Your advice your be helpful

    Regards,

    KD

  • Thanks for your reply. I will do so.

    By the way. I hate to leave a question unanswered if I find the answer, for others. The answer to the problem seems to be that in Gmail you need to activate less secure mail apps. I tried many many times a variety of options but nothing worked. Then went into gmail and allowed less secure mail, (which I thought I had dont in the past) and then it seems to work. If this does not work. disable and then enable in Gmail. Part of the confusion for me :) is that in Gmail if you want less secure apps you have to turn it ON. So On means less secure and Off means more secure.

    Thanks

    Regards