• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Problem with the Module "email"

Scheduled Pinned Locked Moved Unsolved Troubleshooting
57 Posts 4 Posters 24.3k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    CyruS1337 Project Sponsor
    last edited by Nov 3, 2018, 3:00 PM

    I hope this helps:

    0|MagicMirror  | Email notifier error:  { Error: Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
    0|MagicMirror  |     at Connection._resTagged (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Connection.js:1502:11)
    0|MagicMirror  |     at Parser.<anonymous> (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Connection.js:194:10)
    0|MagicMirror  |     at emitOne (events.js:116:13)
    0|MagicMirror  |     at Parser.emit (events.js:211:7)
    0|MagicMirror  |     at Parser._resTagged (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:175:10)
    0|MagicMirror  |     at Parser._parse (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:139:16)
    0|MagicMirror  |     at Parser._tryread (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:82:15)
    0|MagicMirror  |     at TLSSocket.Parser._cbReadable (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:53:12)
    0|MagicMirror  |     at emitNone (events.js:106:13)
    0|MagicMirror  |     at TLSSocket.emit (events.js:208:7) type: 'no', textCode: 'ALERT', source: 'authentication' }
    
    

    That does not stop and it always comes back to the mistake itself

    S 1 Reply Last reply Nov 3, 2018, 3:21 PM Reply Quote 0
    • S Offline
      sdetweil @CyruS1337
      last edited by Nov 3, 2018, 3:21 PM

      @cyrus1337 I don’t know anything about this module, but I would guess that your email config is wrong.

      The error means the module failed parsing the email data, because there was a connection or permissions error (tls implies ssl connection problem)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • C Offline
        CyruS1337 Project Sponsor
        last edited by Nov 3, 2018, 3:28 PM

        I have the config as described on the page https://github.com/ronny3050/email-mirror

        {
        		        module: 'email',
                        position: 'top_left',
                        header: 'Email',
                        config: {
                            accounts: [
        
                                {
                                    user: 'name@gmail.com',
                                    password: 'pw',
                                    host: 'imap.gmail.com',
        			    port: 993,
                                    tls: true,
                                    authTimeout: 10000,
                                    numberOfEmails: 5,
                                }
                            ],
                            fade: true,
                            maxCharacters: 30
                        }
        	},
        
        S 1 Reply Last reply Nov 3, 2018, 4:48 PM Reply Quote 0
        • S Offline
          sdetweil @CyruS1337
          last edited by sdetweil Nov 3, 2018, 4:49 PM Nov 3, 2018, 4:48 PM

          @cyrus1337 and password: ‘pw’ where pw is YOUR EMAIL password, right?

          And name@gmail.com is YOUR Gmail username

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • C Offline
            CyruS1337 Project Sponsor
            last edited by Nov 4, 2018, 7:17 AM

            @sdetweil said in Problem with the Module "email":

            @cyrus1337 and password: ‘pw’ where pw is YOUR EMAIL password, right?
            And name@gmail.com is YOUR Gmail username

            Genau, das ist das Passwort für den Emailaccount.

            Bei user habe ich meine Emailadresse angegeben.

            1 Reply Last reply Reply Quote 0
            • C Offline
              cirdan
              last edited by cirdan Nov 4, 2018, 4:04 PM Nov 4, 2018, 4:03 PM

              Did you set google security lower than the default. Something with allow third party apps?

              Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

              1 Reply Last reply Reply Quote 0
              • C Offline
                CyruS1337 Project Sponsor
                last edited by Nov 5, 2018, 5:27 AM

                @cirdan said in Problem with the Module "email":

                Did you set google security lower than the default. Something with allow third party apps?

                Yey, i have set

                0_1541395631798_2018-11-05_06-25-37.png

                C 1 Reply Last reply Nov 6, 2018, 7:36 PM Reply Quote 0
                • C Offline
                  cirdan @CyruS1337
                  last edited by cirdan Nov 6, 2018, 7:36 PM Nov 6, 2018, 7:36 PM

                  @cyrus1337 its an authentication problem. My best guess is an error in typing your userid or password. You can try it with username, without the @gmail.com part

                  Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                  C 1 Reply Last reply Nov 7, 2018, 7:27 AM Reply Quote 0
                  • C Offline
                    CyruS1337 Project Sponsor @cirdan
                    last edited by Nov 7, 2018, 7:27 AM

                    @cirdan Ok, you mean I should just enter the name: Adriano B …

                    0_1541575636296_2018-11-07_08-20-48.png

                    C 1 Reply Last reply Nov 7, 2018, 8:30 PM Reply Quote 0
                    • C Offline
                      cirdan @CyruS1337
                      last edited by Nov 7, 2018, 8:30 PM

                      @cyrus1337 what I mean is e.g. your email is namexxx@gmail.com that you use namexxx as an username in the config. I remember playing with that when getting to module to work

                      Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                      C 1 Reply Last reply Nov 8, 2018, 5:20 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 1 / 6
                      1 / 6
                      • First post
                        8/57
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy