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 28.7k 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.
    • S Offline
      sdetweil @CyruS1337
      last edited by sdetweil

      @cyrus1337 press ctrl-shift-i (letter i)
      To open the dev console, then select the console tab. Scroll to see if error on module.js side

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      CyruS1337C 1 Reply Last reply Reply Quote 0
      • CyruS1337C Offline
        CyruS1337 Project Sponsor @sdetweil
        last edited by

        @sdetweil Sorry, but where do I have to execute the command.

        Sorry, I’m really a beginner …

        1 Reply Last reply Reply Quote 0
        • CyruS1337C Offline
          CyruS1337 Project Sponsor
          last edited by

          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 Reply Quote 0
          • S Offline
            sdetweil @CyruS1337
            last edited by

            @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
            • CyruS1337C Offline
              CyruS1337 Project Sponsor
              last edited by

              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 Reply Quote 0
              • S Offline
                sdetweil @CyruS1337
                last edited by sdetweil

                @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
                • CyruS1337C Offline
                  CyruS1337 Project Sponsor
                  last edited by

                  @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
                  • cirdanC Offline
                    cirdan
                    last edited by cirdan

                    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
                    • CyruS1337C Offline
                      CyruS1337 Project Sponsor
                      last edited by

                      @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

                      cirdanC 1 Reply Last reply Reply Quote 0
                      • cirdanC Offline
                        cirdan @CyruS1337
                        last edited by cirdan

                        @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

                        CyruS1337C 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 3 / 6
                        • First post
                          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